#C238C9#C238C9
#C238C9 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.1% C 0.234 H 325.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #C238C9 |
|---|---|
| RGB | rgb(194, 56, 201) |
| HSL | hsl(297, 57%, 50%) |
| HSV | hsv(297, 72%, 79%) |
| CMYK | cmyk(3.5%, 72.1%, 0%, 21.2%) |
| CIE-LAB | lab(50.12, 70.66, -47.21) |
| CIE-LCH | lch(50.12, 84.98, 326.25°) |
| OKLab | oklab(60.07% 0.1938 -0.1312) |
| OKLCH | oklch(60.07% 0.234 325.9) |
| XYZ | xyz(34.2042, 18.5170, 57.0196) |
| Luminance | 0.1852 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.44
Purple Pink
#D725DE
ΔE00 4.00
Pinky Purple
#C94CBE
ΔE00 4.79
Mediumorchid
#BA55D3
ΔE00 4.99
Pinkish Purple
#D648D7
ΔE00 5.71
Hot Purple
#CB00F5
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C238C9 #3FC938
analogous
#7938C9 #C238C9 #C93888
triadic
#C238C9 #C9C238 #38C9C2
tetradic
#C238C9 #C97938 #3FC938 #3888C9
square
#C238C9 #C97938 #3FC938 #3888C9
split-complementary
#C238C9 #88C938 #38C979
monochromatic
#661D6A #952A9A #C238C9 #D168D6 #E098E3
Accessibility & contrast
On white
4.47
#C238C9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#C238C9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C238C9
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C238C9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C238C9 | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D6CCD
Deuteranopia (green-blind)
#597DC5
Tritanopia (blue-blind)
#C7507E
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #c238c9; /* rgb */ color: rgb(194, 56, 201); /* oklch */ color: oklch(60.1% 0.234 325.9);
Tailwind
colors: {
custom: {
50: '#d87cda',
500: '#c238c9',
950: '#000000',
},
}SCSS
$custom: #c238c9; $custom-light: #d87cda; $custom-dark: #000000;
JSON
{
"hex": "#c238c9",
"rgb": {
"r": 194,
"g": 56,
"b": 201
},
"hsl": {
"h": 297.103,
"s": 57.312,
"l": 50.392
},
"oklch": {
"l": 0.60072,
"c": 0.23408,
"h": 325.9
},
"luminance": 0.18515
}Semantic roles & 50–950 ramp
primary
#C238C9
secondary
#91CF8E
accent
#E1474F
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83