#C238C2#C238C2
#C238C2 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.7% C 0.229 H 328.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #C238C2 |
|---|---|
| RGB | rgb(194, 56, 194) |
| HSL | hsl(300, 55%, 49%) |
| HSV | hsv(300, 71%, 76%) |
| CMYK | cmyk(0%, 71.1%, 0%, 23.9%) |
| CIE-LAB | lab(49.73, 69.51, -43.78) |
| CIE-LCH | lch(49.73, 82.15, 327.80°) |
| OKLab | oklab(59.67% 0.1939 -0.1212) |
| OKLCH | oklch(59.67% 0.229 328) |
| XYZ | xyz(33.3995, 18.1951, 52.7813) |
| Luminance | 0.1819 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.50
Pinky Purple
#C94CBE
ΔE00 4.38
Purple Pink
#D725DE
ΔE00 4.73
Mediumorchid
#BA55D3
ΔE00 5.62
Pinkish Purple
#D648D7
ΔE00 6.09
Barney
#AC1DB8
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C238C2 #38C238
analogous
#7D38C2 #C238C2 #C2387D
triadic
#C238C2 #C2C238 #38C2C2
tetradic
#C238C2 #C27D38 #38C238 #387DC2
square
#C238C2 #C27D38 #38C238 #387DC2
split-complementary
#C238C2 #7DC238 #38C27D
monochromatic
#631D63 #932A93 #C238C2 #D265D2 #E094E0
Accessibility & contrast
On white
4.53
#C238C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#C238C2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C238C2
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C238C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C238C2 | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E6BC6
Deuteranopia (green-blind)
#5D7CBF
Tritanopia (blue-blind)
#C84D7A
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #c238c2; /* rgb */ color: rgb(194, 56, 194); /* oklch */ color: oklch(59.7% 0.229 328.0);
Tailwind
colors: {
custom: {
50: '#d87cd5',
500: '#c238c2',
950: '#000000',
},
}SCSS
$custom: #c238c2; $custom-light: #d87cd5; $custom-dark: #000000;
JSON
{
"hex": "#c238c2",
"rgb": {
"r": 194,
"g": 56,
"b": 194
},
"hsl": {
"h": 300,
"s": 55.2,
"l": 49.02
},
"oklch": {
"l": 0.59672,
"c": 0.22869,
"h": 328
},
"luminance": 0.18193
}Semantic roles & 50–950 ramp
primary
#C238C2
secondary
#8ACB8A
accent
#DF4949
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83