#C151E1#C151E1
#C151E1 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.8% C 0.224 H 318.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #C151E1 |
|---|---|
| RGB | rgb(193, 81, 225) |
| HSL | hsl(287, 71%, 60%) |
| HSV | hsv(287, 64%, 88%) |
| CMYK | cmyk(14.2%, 64%, 0%, 11.8%) |
| CIE-LAB | lab(54.72, 65.20, -53.56) |
| CIE-LCH | lch(54.72, 84.38, 320.59°) |
| OKLab | oklab(63.79% 0.1664 -0.15) |
| OKLCH | oklch(63.79% 0.224 318) |
| XYZ | xyz(38.5235, 22.6602, 73.5642) |
| Luminance | 0.2266 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.20
Pinkish Purple
#D648D7
ΔE00 4.34
Heliotrope
#D94FF5
ΔE00 4.50
Bright Lilac
#C95EFB
ΔE00 4.84
Purple Pink
#D725DE
ΔE00 5.08
Bright Lavender
#C760FF
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C151E1 #71E151
analogous
#7951E1 #C151E1 #E151B9
triadic
#C151E1 #E1C151 #51E1C1
tetradic
#C151E1 #E17951 #71E151 #51B9E1
square
#C151E1 #E17951 #71E151 #51B9E1
split-complementary
#C151E1 #B9E151 #51E179
monochromatic
#801B9D #AA24D1 #C151E1 #D485EA #E6B9F3
Accessibility & contrast
On white
3.80
#C151E1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#C151E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C151E1
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C151E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C151E1 | 1.00 | 3.80 | 5.53 | 5.53 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F7CE5
Deuteranopia (green-blind)
#5787DD
Tritanopia (blue-blind)
#C06B92
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #c151e1; /* rgb */ color: rgb(193, 81, 225); /* oklch */ color: oklch(63.8% 0.224 318.0);
Tailwind
colors: {
custom: {
50: '#d789eb',
500: '#c151e1',
950: '#000000',
},
}SCSS
$custom: #c151e1; $custom-light: #d789eb; $custom-dark: #000000;
JSON
{
"hex": "#c151e1",
"rgb": {
"r": 193,
"g": 81,
"b": 225
},
"hsl": {
"h": 286.667,
"s": 70.588,
"l": 60
},
"oklch": {
"l": 0.63785,
"c": 0.22401,
"h": 318
},
"luminance": 0.22659
}Semantic roles & 50–950 ramp
primary
#C151E1
secondary
#B7E3AB
accent
#ED3A62
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84