#C251E6#C251E6
#C251E6 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.2% C 0.229 H 317.0°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #C251E6 |
|---|---|
| RGB | rgb(194, 81, 230) |
| HSL | hsl(286, 75%, 61%) |
| HSV | hsv(286, 65%, 90%) |
| CMYK | cmyk(15.7%, 64.8%, 0%, 9.8%) |
| CIE-LAB | lab(55.14, 66.38, -55.70) |
| CIE-LCH | lch(55.14, 86.65, 320.00°) |
| OKLab | oklab(64.21% 0.1675 -0.1562) |
| OKLCH | oklch(64.21% 0.229 317) |
| XYZ | xyz(39.4714, 23.0689, 77.2211) |
| Luminance | 0.2307 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.88
Heliotrope
#D94FF5
ΔE00 4.08
Bright Lilac
#C95EFB
ΔE00 4.23
Pinkish Purple
#D648D7
ΔE00 4.67
Bright Lavender
#C760FF
ΔE00 4.82
Purple Pink
#D725DE
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C251E6 #75E651
analogous
#7751E6 #C251E6 #E651C0
triadic
#C251E6 #E6C251 #51E6C2
tetradic
#C251E6 #E67751 #75E651 #51C0E6
square
#C251E6 #E67751 #75E651 #51C0E6
split-complementary
#C251E6 #C0E651 #51E677
monochromatic
#8318A5 #AD1FDA #C251E6 #D587EE #E8BCF5
Accessibility & contrast
On white
3.74
#C251E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#C251E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C251E6
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C251E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C251E6 | 1.00 | 3.74 | 5.61 | 5.61 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#137DEA
Deuteranopia (green-blind)
#5487E2
Tritanopia (blue-blind)
#C06C95
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #c251e6; /* rgb */ color: rgb(194, 81, 230); /* oklch */ color: oklch(64.2% 0.229 317.0);
Tailwind
colors: {
custom: {
50: '#d889ef',
500: '#c251e6',
950: '#000000',
},
}SCSS
$custom: #c251e6; $custom-light: #d889ef; $custom-dark: #000000;
JSON
{
"hex": "#c251e6",
"rgb": {
"r": 194,
"g": 81,
"b": 230
},
"hsl": {
"h": 285.503,
"s": 74.874,
"l": 60.98
},
"oklch": {
"l": 0.6421,
"c": 0.22898,
"h": 317
},
"luminance": 0.23067
}Semantic roles & 50–950 ramp
primary
#C251E6
secondary
#BBE5AD
accent
#D70E3F
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84