#C237AB#C237AB
#C237AB is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.4% C 0.213 H 335.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #C237AB |
|---|---|
| RGB | rgb(194, 55, 171) |
| HSL | hsl(310, 56%, 49%) |
| HSV | hsv(310, 72%, 76%) |
| CMYK | cmyk(0%, 71.6%, 11.9%, 23.9%) |
| CIE-LAB | lab(48.44, 66.28, -32.37) |
| CIE-LCH | lch(48.44, 73.76, 333.97°) |
| OKLab | oklab(58.37% 0.1937 -0.0883) |
| OKLCH | oklch(58.37% 0.213 335.5) |
| XYZ | xyz(30.9654, 17.1447, 40.1986) |
| Luminance | 0.1714 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.74
Pinky Purple
#C94CBE
ΔE00 5.19
Ugly Purple
#A442A0
ΔE00 5.41
Medium Purple
#9E43A2
ΔE00 6.59
Barney
#AC1DB8
ΔE00 7.61
Mediumvioletred
#C71585
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C237AB #37C24E
analogous
#9437C2 #C237AB #C23766
triadic
#C237AB #ABC237 #37ABC2
tetradic
#C237AB #C29437 #37C24E #3766C2
square
#C237AB #C29437 #37C24E #3766C2
split-complementary
#C237AB #66C237 #37C294
monochromatic
#631C57 #922981 #C237AB #D363C0 #E093D4
Accessibility & contrast
On white
4.74
#C237AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#C237AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C237AB
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C237AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C237AB | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3866AE
Deuteranopia (green-blind)
#687AA8
Tritanopia (blue-blind)
#CC416D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #c237ab; /* rgb */ color: rgb(194, 55, 171); /* oklch */ color: oklch(58.4% 0.213 335.5);
Tailwind
colors: {
custom: {
50: '#d87bc4',
500: '#c237ab',
950: '#000000',
},
}SCSS
$custom: #c237ab; $custom-light: #d87bc4; $custom-dark: #000000;
JSON
{
"hex": "#c237ab",
"rgb": {
"r": 194,
"g": 55,
"b": 171
},
"hsl": {
"h": 309.928,
"s": 55.823,
"l": 48.824
},
"oklch": {
"l": 0.58365,
"c": 0.21291,
"h": 335.5
},
"luminance": 0.17142
}Semantic roles & 50–950 ramp
primary
#C237AB
secondary
#89CB94
accent
#DF6249
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81