#C238C7#C238C7
#C238C7 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 60.0% C 0.233 H 326.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #C238C7 |
|---|---|
| RGB | rgb(194, 56, 199) |
| HSL | hsl(298, 56%, 50%) |
| HSV | hsv(298, 72%, 78%) |
| CMYK | cmyk(2.5%, 71.9%, 0%, 22%) |
| CIE-LAB | lab(50.01, 70.33, -46.24) |
| CIE-LCH | lch(50.01, 84.16, 326.68°) |
| OKLab | oklab(59.96% 0.1939 -0.1284) |
| OKLCH | oklch(59.96% 0.233 326.5) |
| XYZ | xyz(33.9705, 18.4235, 55.7886) |
| Luminance | 0.1842 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.16
Purple Pink
#D725DE
ΔE00 4.19
Pinky Purple
#C94CBE
ΔE00 4.65
Mediumorchid
#BA55D3
ΔE00 5.15
Pinkish Purple
#D648D7
ΔE00 5.80
Hot Purple
#CB00F5
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C238C7 #3DC738
analogous
#7A38C7 #C238C7 #C73885
triadic
#C238C7 #C7C238 #38C7C2
tetradic
#C238C7 #C77A38 #3DC738 #3885C7
square
#C238C7 #C77A38 #3DC738 #3885C7
split-complementary
#C238C7 #85C738 #38C77A
monochromatic
#651D67 #932B97 #C238C7 #D168D4 #DF98E2
Accessibility & contrast
On white
4.48
#C238C7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#C238C7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C238C7
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C238C7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C238C7 | 1.00 | 4.48 | 4.68 | 4.68 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#146CCB
Deuteranopia (green-blind)
#5A7DC3
Tritanopia (blue-blind)
#C74F7D
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #c238c7; /* rgb */ color: rgb(194, 56, 199); /* oklch */ color: oklch(60.0% 0.233 326.5);
Tailwind
colors: {
custom: {
50: '#d87cd8',
500: '#c238c7',
950: '#000000',
},
}SCSS
$custom: #c238c7; $custom-light: #d87cd8; $custom-dark: #000000;
JSON
{
"hex": "#c238c7",
"rgb": {
"r": 194,
"g": 56,
"b": 199
},
"hsl": {
"h": 297.902,
"s": 56.078,
"l": 50
},
"oklch": {
"l": 0.59957,
"c": 0.23253,
"h": 326.5
},
"luminance": 0.18421
}Semantic roles & 50–950 ramp
primary
#C238C7
secondary
#90CD8D
accent
#DF484E
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83