#C237B4#C237B4
#C237B4 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.8% C 0.219 H 332.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #C237B4 |
|---|---|
| RGB | rgb(194, 55, 180) |
| HSL | hsl(306, 56%, 49%) |
| HSV | hsv(306, 72%, 76%) |
| CMYK | cmyk(0%, 71.6%, 7.2%, 23.9%) |
| CIE-LAB | lab(48.88, 67.63, -36.97) |
| CIE-LCH | lch(48.88, 77.07, 331.34°) |
| OKLab | oklab(58.83% 0.1944 -0.1015) |
| OKLCH | oklch(58.83% 0.219 332.4) |
| XYZ | xyz(31.8526, 17.4996, 44.8713) |
| Luminance | 0.1750 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 1.83
Pinky Purple
#C94CBE
ΔE00 4.54
Ugly Purple
#A442A0
ΔE00 5.70
Medium Purple
#9E43A2
ΔE00 6.61
Purple Pink
#D725DE
ΔE00 6.64
Barney
#AC1DB8
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C237B4 #37C245
analogous
#8B37C2 #C237B4 #C2376F
triadic
#C237B4 #B4C237 #37B4C2
tetradic
#C237B4 #C28B37 #37C245 #376FC2
square
#C237B4 #C28B37 #37C245 #376FC2
split-complementary
#C237B4 #6FC237 #37C28B
monochromatic
#631C5C #922988 #C237B4 #D363C8 #E093D9
Accessibility & contrast
On white
4.67
#C237B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#C237B4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #C237B4
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C237B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C237B4 | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F68B7
Deuteranopia (green-blind)
#647BB1
Tritanopia (blue-blind)
#CA4672
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #c237b4; /* rgb */ color: rgb(194, 55, 180); /* oklch */ color: oklch(58.8% 0.219 332.4);
Tailwind
colors: {
custom: {
50: '#d87bcb',
500: '#c237b4',
950: '#000000',
},
}SCSS
$custom: #c237b4; $custom-light: #d87bcb; $custom-dark: #000000;
JSON
{
"hex": "#c237b4",
"rgb": {
"r": 194,
"g": 55,
"b": 180
},
"hsl": {
"h": 306.043,
"s": 55.823,
"l": 48.824
},
"oklch": {
"l": 0.58826,
"c": 0.21933,
"h": 332.4
},
"luminance": 0.17497
}Semantic roles & 50–950 ramp
primary
#C237B4
secondary
#89CB90
accent
#DF5849
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82