#C231F6#C231F6
#C231F6 is a light, highly saturated purple. Relative luminance 0.203; OKLCH L 62.4% C 0.276 H 314.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #C231F6 |
|---|---|
| RGB | rgb(194, 49, 246) |
| HSL | hsl(284, 92%, 58%) |
| HSV | hsv(284, 80%, 96%) |
| CMYK | cmyk(21.1%, 80.1%, 0%, 3.5%) |
| CIE-LAB | lab(52.20, 80.67, -69.41) |
| CIE-LCH | lch(52.20, 106.42, 319.29°) |
| OKLab | oklab(62.44% 0.1943 -0.1962) |
| OKLCH | oklch(62.44% 0.276 314.7) |
| XYZ | xyz(39.9782, 20.3213, 88.9874) |
| Luminance | 0.2032 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Hot Purple
#CB00F5
ΔE00 2.35
Neon Purple
#BC13FE
ΔE00 3.00
Bright Purple
#BE03FD
ΔE00 3.21
Electric Purple
#AA23FF
ΔE00 5.23
Purple Pink
#D725DE
ΔE00 5.24
Lightish Purple
#A552E6
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C231F6 #65F631
analogous
#5F31F6 #C231F6 #F631C8
triadic
#C231F6 #F6C231 #31F6C2
tetradic
#C231F6 #F65F31 #65F631 #31C8F6
square
#C231F6 #F65F31 #65F631 #31C8F6
split-complementary
#C231F6 #C8F631 #31F65F
monochromatic
#7C07A5 #A70AE0 #C231F6 #D36CF9 #E5A6FB
Accessibility & contrast
On white
4.15
#C231F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#C231F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C231F6
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C231F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C231F6 | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075FB
Deuteranopia (green-blind)
#2080F2
Tritanopia (blue-blind)
#BD6296
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #c231f6; /* rgb */ color: rgb(194, 49, 246); /* oklch */ color: oklch(62.4% 0.276 314.7);
Tailwind
colors: {
custom: {
50: '#da7bfa',
500: '#c231f6',
950: '#000000',
},
}SCSS
$custom: #c231f6; $custom-light: #da7bfa; $custom-dark: #000000;
JSON
{
"hex": "#c231f6",
"rgb": {
"r": 194,
"g": 49,
"b": 246
},
"hsl": {
"h": 284.162,
"s": 91.628,
"l": 57.843
},
"oklch": {
"l": 0.62438,
"c": 0.27612,
"h": 314.7
},
"luminance": 0.2032
}Semantic roles & 50–950 ramp
primary
#C231F6
secondary
#AFE99A
accent
#FF2961
background
#FEF8FF
surface
#FCEFFF
border
#D5CAD7
text
#160B17
muted
#847C85