#C28DFF

#c28dff ≈ Floral Lavender

  • violet
  • Lightness: high
  • Saturation: moderate
  • Cool

#c28dff is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 76.08% red, 55.29% green and 100% blue; printed in CMYK it uses 23.92% cyan, 44.71% magenta, 0% yellow and 0% black. Its hue angle is 267.89°, with 100% saturation and 77.65% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and soft pastel palettes. Black text on this color reaches a contrast ratio of 8.55:1 (WCAG AAA). The closest named color is Floral Lavender (#b57edc), ΔE 6.27.

Description generated from the measured properties of this color.

Conversions of #c28dff into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc99ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.3774

Readable text 2.46:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.55:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a5a5a5 ≈ 0.003% of males
Achromatomaly #b19ccf ≈ 0.001% of males
Protanopia #6fa4ff ≈ 1.01% of males
Deuteranopia #7ba5fc ≈ 1.27% of males
Tritanopia #b8a0ba ≈ 0.0001% of males
Protanomaly #979bff ≈ 1.08% of males
Deuteranomaly #9d9cfd ≈ 4.63% of males
Tritanomaly #bc99d9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c28dff {
  color: #c28dff;
}
Background
.bg-c28dff {
  background-color: #c28dff;
  color: #000000;
}
Border
.border-c28dff {
  border: 2px solid #c28dff;
}
CSS variables
:root {
  --color-primary: #c28dff;
  --color-primary-rgb: 194 141 255;
  --color-primary-hsl: 268 100% 78%;
}
Gradient
.gradient-c28dff {
  background: linear-gradient(135deg, #c28dff, #fb8dff);
}
Colored shadow
.shadow-c28dff {
  box-shadow: 0 8px 24px rgb(194 141 255 / 0.35);
}

Floral Lavender
#c28dff  rgb(194, 141, 255)  hsl(268, 100%, 78%)  Floral Lavender
#caff8d  rgb(202, 255, 141)  hsl(88, 100%, 78%)  Inchworm
#ffc28d  rgb(255, 194, 141)  hsl(28, 100%, 78%)  Peach Orange
#8dffc2  rgb(141, 255, 194)  hsl(148, 100%, 78%)  Aquamarine