#C28CF3#C28CF3
#C28CF3 is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.2% C 0.154 H 307.2°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #C28CF3 |
|---|---|
| RGB | rgb(194, 140, 243) |
| HSL | hsl(271, 81%, 75%) |
| HSV | hsv(271, 42%, 95%) |
| CMYK | cmyk(20.2%, 42.4%, 0%, 4.7%) |
| CIE-LAB | lab(67.05, 39.65, -44.05) |
| CIE-LCH | lch(67.05, 59.27, 311.99°) |
| OKLab | oklab(73.2% 0.0929 -0.1226) |
| OKLCH | oklch(73.2% 0.154 307.2) |
| XYZ | xyz(47.8007, 36.6970, 89.3417) |
| Luminance | 0.3670 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.59
Baby Purple
#CA9BF7
ΔE00 3.88
Pastel Purple
#CAA0FF
ΔE00 5.02
Light Purple
#BF77F6
ΔE00 5.24
Lavender (survey)
#C79FEF
ΔE00 5.40
Lilac (survey)
#CEA2FD
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C28CF3 #BDF38C
analogous
#8E8CF3 #C28CF3 #F38CF1
triadic
#C28CF3 #F3C28C #8CF3C2
tetradic
#C28CF3 #F38E8C #BDF38C #8CF1F3
square
#C28CF3 #F38E8C #BDF38C #8CF1F3
split-complementary
#C28CF3 #F1F38C #8CF38E
monochromatic
#871DE7 #A555ED #C28CF3 #DFC3F9 #F0E3FC
Accessibility & contrast
On white
2.52
#C28CF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.34
#C28CF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C28CF3
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C28CF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C28CF3 | 1.00 | 2.52 | 8.34 | 8.34 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74A1F7
Deuteranopia (green-blind)
#81A4F0
Tritanopia (blue-blind)
#BB9CB4
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #c28cf3; /* rgb */ color: rgb(194, 140, 243); /* oklch */ color: oklch(73.2% 0.154 307.2);
Tailwind
colors: {
custom: {
50: '#d6aef7',
500: '#c28cf3',
950: '#000000',
},
}SCSS
$custom: #c28cf3; $custom-light: #d6aef7; $custom-dark: #000000;
JSON
{
"hex": "#c28cf3",
"rgb": {
"r": 194,
"g": 140,
"b": 243
},
"hsl": {
"h": 271.456,
"s": 81.102,
"l": 75.098
},
"oklch": {
"l": 0.73202,
"c": 0.15379,
"h": 307.2
},
"luminance": 0.36697
}Semantic roles & 50–950 ramp
primary
#C28CF3
secondary
#E5F4D7
accent
#DD086E
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85