#C237B2#C237B2
#C237B2 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.7% C 0.218 H 333.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #C237B2 |
|---|---|
| RGB | rgb(194, 55, 178) |
| HSL | hsl(307, 56%, 49%) |
| HSV | hsv(307, 72%, 76%) |
| CMYK | cmyk(0%, 71.6%, 8.2%, 23.9%) |
| CIE-LAB | lab(48.78, 67.33, -35.95) |
| CIE-LCH | lch(48.78, 76.32, 331.90°) |
| OKLab | oklab(58.72% 0.1943 -0.0986) |
| OKLCH | oklch(58.72% 0.218 333.1) |
| XYZ | xyz(31.6504, 17.4187, 43.8060) |
| Luminance | 0.1742 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 1.95
Pinky Purple
#C94CBE
ΔE00 4.64
Ugly Purple
#A442A0
ΔE00 5.59
Medium Purple
#9E43A2
ΔE00 6.56
Purple Pink
#D725DE
ΔE00 6.94
Barney
#AC1DB8
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C237B2 #37C247
analogous
#8D37C2 #C237B2 #C2376D
triadic
#C237B2 #B2C237 #37B2C2
tetradic
#C237B2 #C28D37 #37C247 #376DC2
square
#C237B2 #C28D37 #37C247 #376DC2
split-complementary
#C237B2 #6DC237 #37C28D
monochromatic
#631C5B #922986 #C237B2 #D363C6 #E093D7
Accessibility & contrast
On white
4.68
#C237B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#C237B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C237B2
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C237B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C237B2 | 1.00 | 4.68 | 4.48 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3167B5
Deuteranopia (green-blind)
#657BAF
Tritanopia (blue-blind)
#CB4571
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #c237b2; /* rgb */ color: rgb(194, 55, 178); /* oklch */ color: oklch(58.7% 0.218 333.1);
Tailwind
colors: {
custom: {
50: '#d87bc9',
500: '#c237b2',
950: '#000000',
},
}SCSS
$custom: #c237b2; $custom-light: #d87bc9; $custom-dark: #000000;
JSON
{
"hex": "#c237b2",
"rgb": {
"r": 194,
"g": 55,
"b": 178
},
"hsl": {
"h": 306.906,
"s": 55.823,
"l": 48.824
},
"oklch": {
"l": 0.58722,
"c": 0.21788,
"h": 333.1
},
"luminance": 0.17416
}Semantic roles & 50–950 ramp
primary
#C237B2
secondary
#89CB91
accent
#DF5A49
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82