#C151E3#C151E3
#C151E3 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 63.9% C 0.226 H 317.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #C151E3 |
|---|---|
| RGB | rgb(193, 81, 227) |
| HSL | hsl(286, 72%, 60%) |
| HSV | hsv(286, 64%, 89%) |
| CMYK | cmyk(15%, 64.3%, 0%, 11%) |
| CIE-LAB | lab(54.83, 65.58, -54.51) |
| CIE-LCH | lch(54.83, 85.28, 320.27°) |
| OKLab | oklab(63.9% 0.1664 -0.1527) |
| OKLCH | oklch(63.9% 0.226 317.4) |
| XYZ | xyz(38.7979, 22.7699, 75.0095) |
| Luminance | 0.2277 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.46
Heliotrope
#D94FF5
ΔE00 4.39
Pinkish Purple
#D648D7
ΔE00 4.53
Bright Lilac
#C95EFB
ΔE00 4.62
Purple Pink
#D725DE
ΔE00 5.19
Bright Lavender
#C760FF
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C151E3 #73E351
analogous
#7851E3 #C151E3 #E351BC
triadic
#C151E3 #E3C151 #51E3C1
tetradic
#C151E3 #E37851 #73E351 #51BCE3
square
#C151E3 #E37851 #73E351 #51BCE3
split-complementary
#C151E3 #BCE351 #51E378
monochromatic
#811AA0 #AB22D5 #C151E3 #D486EB #E7BAF4
Accessibility & contrast
On white
3.78
#C151E3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#C151E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C151E3
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C151E3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C151E3 | 1.00 | 3.78 | 5.55 | 5.55 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A7CE7
Deuteranopia (green-blind)
#5587DF
Tritanopia (blue-blind)
#C06B93
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #c151e3; /* rgb */ color: rgb(193, 81, 227); /* oklch */ color: oklch(63.9% 0.226 317.4);
Tailwind
colors: {
custom: {
50: '#d789ec',
500: '#c151e3',
950: '#000000',
},
}SCSS
$custom: #c151e3; $custom-light: #d789ec; $custom-dark: #000000;
JSON
{
"hex": "#c151e3",
"rgb": {
"r": 193,
"g": 81,
"b": 227
},
"hsl": {
"h": 286.027,
"s": 72.277,
"l": 60.392
},
"oklch": {
"l": 0.63903,
"c": 0.22584,
"h": 317.4
},
"luminance": 0.22768
}Semantic roles & 50–950 ramp
primary
#C151E3
secondary
#B9E4AC
accent
#D4113F
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84