#C238B3#C238B3
#C238B3 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.9% C 0.217 H 332.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #C238B3 |
|---|---|
| RGB | rgb(194, 56, 179) |
| HSL | hsl(307, 55%, 49%) |
| HSV | hsv(307, 71%, 76%) |
| CMYK | cmyk(0%, 71.1%, 7.7%, 23.9%) |
| CIE-LAB | lab(48.95, 67.14, -36.27) |
| CIE-LCH | lch(48.95, 76.31, 331.62°) |
| OKLab | oklab(58.86% 0.1934 -0.0995) |
| OKLCH | oklch(58.86% 0.217 332.8) |
| XYZ | xyz(31.7991, 17.5550, 44.3527) |
| Luminance | 0.1755 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 1.77
Pinky Purple
#C94CBE
ΔE00 4.45
Ugly Purple
#A442A0
ΔE00 5.67
Medium Purple
#9E43A2
ΔE00 6.62
Purple Pink
#D725DE
ΔE00 6.77
Barney
#AC1DB8
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C238B3 #38C247
analogous
#8C38C2 #C238B3 #C2386E
triadic
#C238B3 #B3C238 #38B3C2
tetradic
#C238B3 #C28C38 #38C247 #386EC2
square
#C238B3 #C28C38 #38C247 #386EC2
split-complementary
#C238B3 #6EC238 #38C28C
monochromatic
#631D5B #932A87 #C238B3 #D265C7 #E094D8
Accessibility & contrast
On white
4.66
#C238B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#C238B3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #C238B3
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C238B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C238B3 | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3268B6
Deuteranopia (green-blind)
#657BB0
Tritanopia (blue-blind)
#CA4672
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #c238b3; /* rgb */ color: rgb(194, 56, 179); /* oklch */ color: oklch(58.9% 0.217 332.8);
Tailwind
colors: {
custom: {
50: '#d87bca',
500: '#c238b3',
950: '#000000',
},
}SCSS
$custom: #c238b3; $custom-light: #d87bca; $custom-dark: #000000;
JSON
{
"hex": "#c238b3",
"rgb": {
"r": 194,
"g": 56,
"b": 179
},
"hsl": {
"h": 306.522,
"s": 55.2,
"l": 49.02
},
"oklch": {
"l": 0.58859,
"c": 0.21749,
"h": 332.8
},
"luminance": 0.17552
}Semantic roles & 50–950 ramp
primary
#C238B3
secondary
#8ACB91
accent
#DF5949
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82