#C938C2#C938C2
#C938C2 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.7% C 0.232 H 330.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #C938C2 |
|---|---|
| RGB | rgb(201, 56, 194) |
| HSL | hsl(303, 57%, 50%) |
| HSV | hsv(303, 72%, 79%) |
| CMYK | cmyk(0%, 72.1%, 3.5%, 21.2%) |
| CIE-LAB | lab(50.85, 71.03, -41.93) |
| CIE-LCH | lch(50.85, 82.48, 329.45°) |
| OKLab | oklab(60.69% 0.2012 -0.1157) |
| OKLCH | oklch(60.69% 0.232 330.1) |
| XYZ | xyz(35.2390, 19.1436, 52.8676) |
| Luminance | 0.1914 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 1.59
Pinky Purple
#C94CBE
ΔE00 3.32
Purple Pink
#D725DE
ΔE00 4.25
Pinkish Purple
#D648D7
ΔE00 5.08
Mediumorchid
#BA55D3
ΔE00 5.68
Fuchsia (survey)
#ED0DD9
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C938C2 #38C93F
analogous
#8838C9 #C938C2 #C93879
triadic
#C938C2 #C2C938 #38C2C9
tetradic
#C938C2 #C98838 #38C93F #3879C9
square
#C938C2 #C98838 #38C93F #3879C9
split-complementary
#C938C2 #79C938 #38C988
monochromatic
#6A1D66 #9A2A95 #C938C2 #D668D1 #E398E0
Accessibility & contrast
On white
4.35
#C938C2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#C938C2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C938C2
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C938C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C938C2 | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#276DC6
Deuteranopia (green-blind)
#6380BE
Tritanopia (blue-blind)
#D04B7A
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #c938c2; /* rgb */ color: rgb(201, 56, 194); /* oklch */ color: oklch(60.7% 0.232 330.1);
Tailwind
colors: {
custom: {
50: '#dd7dd5',
500: '#c938c2',
950: '#000000',
},
}SCSS
$custom: #c938c2; $custom-light: #dd7dd5; $custom-dark: #000000;
JSON
{
"hex": "#c938c2",
"rgb": {
"r": 201,
"g": 56,
"b": 194
},
"hsl": {
"h": 302.897,
"s": 57.312,
"l": 50.392
},
"oklch": {
"l": 0.60694,
"c": 0.2321,
"h": 330.1
},
"luminance": 0.19141
}Semantic roles & 50–950 ramp
primary
#C938C2
secondary
#8ECF91
accent
#E14F47
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83