#C585F2#C585F2
#C585F2 is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.3% C 0.165 H 309.9°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #C585F2 |
|---|---|
| RGB | rgb(197, 133, 242) |
| HSL | hsl(275, 81%, 74%) |
| HSV | hsv(275, 45%, 95%) |
| CMYK | cmyk(18.6%, 45%, 0%, 5.1%) |
| CIE-LAB | lab(65.79, 44.05, -45.45) |
| CIE-LCH | lch(65.79, 63.30, 314.10°) |
| OKLab | oklab(72.32% 0.1059 -0.1265) |
| OKLCH | oklch(72.32% 0.165 309.9) |
| XYZ | xyz(47.4375, 35.0569, 88.2548) |
| Luminance | 0.3506 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.79
Light Purple
#BF77F6
ΔE00 3.75
Easter Purple
#C071FE
ΔE00 5.33
Baby Purple
#CA9BF7
ΔE00 5.47
Light Urple
#B36FF6
ΔE00 6.56
Pastel Purple
#CAA0FF
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C585F2 #B2F285
analogous
#8E85F2 #C585F2 #F285E9
triadic
#C585F2 #F2C585 #85F2C5
tetradic
#C585F2 #F28E85 #B2F285 #85E9F2
square
#C585F2 #F28E85 #B2F285 #85E9F2
split-complementary
#C585F2 #E9F285 #85F28E
monochromatic
#9018E4 #AB4EEC #C585F2 #DFBCF8 #F2E3FC
Accessibility & contrast
On white
2.62
#C585F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.01
#C585F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C585F2
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C585F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C585F2 | 1.00 | 2.62 | 8.01 | 8.01 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#7DA1EF
Tritanopia (blue-blind)
#C096B0
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #c585f2; /* rgb */ color: rgb(197, 133, 242); /* oklch */ color: oklch(72.3% 0.165 309.9);
Tailwind
colors: {
custom: {
50: '#d8aaf7',
500: '#c585f2',
950: '#000000',
},
}SCSS
$custom: #c585f2; $custom-light: #d8aaf7; $custom-dark: #000000;
JSON
{
"hex": "#c585f2",
"rgb": {
"r": 197,
"g": 133,
"b": 242
},
"hsl": {
"h": 275.229,
"s": 80.741,
"l": 73.529
},
"oklch": {
"l": 0.72315,
"c": 0.16499,
"h": 309.9
},
"luminance": 0.35056
}Semantic roles & 50–950 ramp
primary
#C585F2
secondary
#E3F4D7
accent
#DD0860
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85