#C284F5#C284F5
#C284F5 is a light, vivid violet. Relative luminance 0.346; OKLCH L 72.0% C 0.169 H 308.0°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #C284F5 |
|---|---|
| RGB | rgb(194, 132, 245) |
| HSL | hsl(273, 85%, 74%) |
| HSV | hsv(273, 46%, 96%) |
| CMYK | cmyk(20.8%, 46.1%, 0%, 3.9%) |
| CIE-LAB | lab(65.41, 44.43, -47.73) |
| CIE-LCH | lch(65.41, 65.21, 312.95°) |
| OKLab | oklab(72% 0.1041 -0.1332) |
| OKLCH | oklch(72% 0.169 308) |
| XYZ | xyz(46.9776, 34.5650, 90.5654) |
| Luminance | 0.3456 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.60
Light Purple
#BF77F6
ΔE00 3.18
Easter Purple
#C071FE
ΔE00 4.72
Baby Purple
#CA9BF7
ΔE00 5.87
Light Urple
#B36FF6
ΔE00 5.88
Pastel Purple
#CAA0FF
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C284F5 #B7F584
analogous
#8A84F5 #C284F5 #F584F0
triadic
#C284F5 #F5C284 #84F5C2
tetradic
#C284F5 #F58A84 #B7F584 #84F0F5
square
#C284F5 #F58A84 #B7F584 #84F0F5
split-complementary
#C284F5 #F0F584 #84F58A
monochromatic
#8A13EB #A64BF0 #C284F5 #DEBDFA #F1E3FD
Accessibility & contrast
On white
2.65
#C284F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.91
#C284F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C284F5
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C284F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C284F5 | 1.00 | 2.65 | 7.91 | 7.91 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689CF9
Deuteranopia (green-blind)
#78A0F2
Tritanopia (blue-blind)
#BB97B1
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #c284f5; /* rgb */ color: rgb(194, 132, 245); /* oklch */ color: oklch(72.0% 0.169 308.0);
Tailwind
colors: {
custom: {
50: '#d6a9f9',
500: '#c284f5',
950: '#000000',
},
}SCSS
$custom: #c284f5; $custom-light: #d6a9f9; $custom-dark: #000000;
JSON
{
"hex": "#c284f5",
"rgb": {
"r": 194,
"g": 132,
"b": 245
},
"hsl": {
"h": 272.92,
"s": 84.962,
"l": 73.922
},
"oklch": {
"l": 0.72003,
"c": 0.16907,
"h": 308
},
"luminance": 0.34564
}Semantic roles & 50–950 ramp
primary
#C284F5
secondary
#E4F5D6
accent
#E10468
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85