#C237AF#C237AF
#C237AF is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.6% C 0.216 H 334.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #C237AF |
|---|---|
| RGB | rgb(194, 55, 175) |
| HSL | hsl(308, 56%, 49%) |
| HSV | hsv(308, 72%, 76%) |
| CMYK | cmyk(0%, 71.6%, 9.8%, 23.9%) |
| CIE-LAB | lab(48.64, 66.87, -34.42) |
| CIE-LCH | lch(48.64, 75.21, 332.76°) |
| OKLab | oklab(58.57% 0.1941 -0.0942) |
| OKLCH | oklch(58.57% 0.216 334.1) |
| XYZ | xyz(31.3525, 17.2995, 42.2370) |
| Luminance | 0.1730 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.23
Pinky Purple
#C94CBE
ΔE00 4.84
Ugly Purple
#A442A0
ΔE00 5.48
Medium Purple
#9E43A2
ΔE00 6.54
Barney
#AC1DB8
ΔE00 7.27
Purple Pink
#D725DE
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C237AF #37C24A
analogous
#9037C2 #C237AF #C2376A
triadic
#C237AF #AFC237 #37AFC2
tetradic
#C237AF #C29037 #37C24A #376AC2
square
#C237AF #C29037 #37C24A #376AC2
split-complementary
#C237AF #6AC237 #37C290
monochromatic
#631C59 #922984 #C237AF #D363C4 #E093D6
Accessibility & contrast
On white
4.71
#C237AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#C237AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C237AF
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C237AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C237AF | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3467B2
Deuteranopia (green-blind)
#667BAC
Tritanopia (blue-blind)
#CB436F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #c237af; /* rgb */ color: rgb(194, 55, 175); /* oklch */ color: oklch(58.6% 0.216 334.1);
Tailwind
colors: {
custom: {
50: '#d87bc7',
500: '#c237af',
950: '#000000',
},
}SCSS
$custom: #c237af; $custom-light: #d87bc7; $custom-dark: #000000;
JSON
{
"hex": "#c237af",
"rgb": {
"r": 194,
"g": 55,
"b": 175
},
"hsl": {
"h": 308.201,
"s": 55.823,
"l": 48.824
},
"oklch": {
"l": 0.58567,
"c": 0.21574,
"h": 334.1
},
"luminance": 0.17297
}Semantic roles & 50–950 ramp
primary
#C237AF
secondary
#89CB92
accent
#DF5D49
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82