#C152E3#C152E3
#C152E3 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.0% C 0.225 H 317.4°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #C152E3 |
|---|---|
| RGB | rgb(193, 82, 227) |
| HSL | hsl(286, 72%, 61%) |
| HSV | hsv(286, 64%, 89%) |
| CMYK | cmyk(15%, 63.9%, 0%, 11%) |
| CIE-LAB | lab(54.99, 65.15, -54.26) |
| CIE-LCH | lch(54.99, 84.79, 320.21°) |
| OKLab | oklab(64.02% 0.1652 -0.152) |
| OKLCH | oklch(64.02% 0.225 317.4) |
| XYZ | xyz(38.8727, 22.9197, 75.0344) |
| Luminance | 0.2292 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.46
Heliotrope
#D94FF5
ΔE00 4.32
Bright Lilac
#C95EFB
ΔE00 4.49
Pinkish Purple
#D648D7
ΔE00 4.52
Bright Lavender
#C760FF
ΔE00 5.10
Purple Pink
#D725DE
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C152E3 #74E352
analogous
#7852E3 #C152E3 #E352BC
triadic
#C152E3 #E3C152 #52E3C1
tetradic
#C152E3 #E37852 #74E352 #52BCE3
square
#C152E3 #E37852 #74E352 #52BCE3
split-complementary
#C152E3 #BCE352 #52E378
monochromatic
#811AA1 #AB23D5 #C152E3 #D487EC #E7BBF4
Accessibility & contrast
On white
3.76
#C152E3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#C152E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C152E3
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C152E3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C152E3 | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E7DE7
Deuteranopia (green-blind)
#5687DF
Tritanopia (blue-blind)
#C06C94
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #c152e3; /* rgb */ color: rgb(193, 82, 227); /* oklch */ color: oklch(64.0% 0.225 317.4);
Tailwind
colors: {
custom: {
50: '#d78aec',
500: '#c152e3',
950: '#000000',
},
}SCSS
$custom: #c152e3; $custom-light: #d78aec; $custom-dark: #000000;
JSON
{
"hex": "#c152e3",
"rgb": {
"r": 193,
"g": 82,
"b": 227
},
"hsl": {
"h": 285.931,
"s": 72.139,
"l": 60.588
},
"oklch": {
"l": 0.64015,
"c": 0.22452,
"h": 317.4
},
"luminance": 0.22918
}Semantic roles & 50–950 ramp
primary
#C152E3
secondary
#BAE4AD
accent
#D4113F
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84