#C285F9#C285F9
#C285F9 is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.4% C 0.172 H 306.9°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #C285F9 |
|---|---|
| RGB | rgb(194, 133, 249) |
| HSL | hsl(272, 91%, 75%) |
| HSV | hsv(272, 47%, 98%) |
| CMYK | cmyk(22.1%, 46.6%, 0%, 2.4%) |
| CIE-LAB | lab(65.81, 44.78, -49.28) |
| CIE-LCH | lch(65.81, 66.59, 312.26°) |
| OKLab | oklab(72.37% 0.1033 -0.1377) |
| OKLCH | oklch(72.37% 0.172 306.9) |
| XYZ | xyz(47.7311, 35.0844, 93.8616) |
| Luminance | 0.3508 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.21
Light Purple
#BF77F6
ΔE00 3.35
Easter Purple
#C071FE
ΔE00 4.74
Baby Purple
#CA9BF7
ΔE00 5.79
Light Urple
#B36FF6
ΔE00 5.94
Pastel Purple
#CAA0FF
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C285F9 #BCF985
analogous
#8885F9 #C285F9 #F985F6
triadic
#C285F9 #F9C285 #85F9C2
tetradic
#C285F9 #F98885 #BCF985 #85F6F9
square
#C285F9 #F98885 #BCF985 #85F6F9
split-complementary
#C285F9 #F6F985 #85F988
monochromatic
#8810F3 #A54BF6 #C285F9 #DFBFFC #F0E2FE
Accessibility & contrast
On white
2.62
#C285F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#C285F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C285F9
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C285F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C285F9 | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679EFD
Deuteranopia (green-blind)
#77A0F6
Tritanopia (blue-blind)
#BA98B3
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #c285f9; /* rgb */ color: rgb(194, 133, 249); /* oklch */ color: oklch(72.4% 0.172 306.9);
Tailwind
colors: {
custom: {
50: '#d7aafc',
500: '#c285f9',
950: '#000000',
},
}SCSS
$custom: #c285f9; $custom-light: #d7aafc; $custom-dark: #000000;
JSON
{
"hex": "#c285f9",
"rgb": {
"r": 194,
"g": 133,
"b": 249
},
"hsl": {
"h": 271.552,
"s": 90.625,
"l": 74.902
},
"oklch": {
"l": 0.72369,
"c": 0.17216,
"h": 306.9
},
"luminance": 0.35084
}Semantic roles & 50–950 ramp
primary
#C285F9
secondary
#E5F6D5
accent
#E6006D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85