#9C2EC1#9C2EC1
#9C2EC1 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.223 H 315.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2EC1 |
|---|---|
| RGB | rgb(156, 46, 193) |
| HSL | hsl(285, 62%, 47%) |
| HSV | hsv(285, 76%, 76%) |
| CMYK | cmyk(19.2%, 76.2%, 0%, 24.3%) |
| CIE-LAB | lab(42.57, 64.93, -54.99) |
| CIE-LCH | lch(42.57, 85.09, 319.74°) |
| OKLab | oklab(53.39% 0.1596 -0.155) |
| OKLCH | oklch(53.39% 0.223 315.8) |
| XYZ | xyz(24.3114, 12.8731, 51.6459) |
| Luminance | 0.1287 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.97
Purply
#983FB2
ΔE00 3.39
Barney
#AC1DB8
ΔE00 3.56
Vibrant Purple
#AD03DE
ΔE00 4.37
Darkviolet
#9400D3
ΔE00 4.83
Violet (survey)
#9A0EEA
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2EC1 #53C12E
analogous
#532EC1 #9C2EC1 #C12E9D
triadic
#9C2EC1 #C19C2E #2EC19C
tetradic
#9C2EC1 #C1532E #53C12E #2E9DC1
square
#9C2EC1 #C1532E #53C12E #2E9DC1
split-complementary
#9C2EC1 #9DC12E #2EC153
monochromatic
#4C165E #742290 #9C2EC1 #B656D7 #CB87E2
Accessibility & contrast
On white
5.88
#9C2EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#9C2EC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2EC1
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2EC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2EC1 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#2B67BE
Tritanopia (blue-blind)
#994F76
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #9c2ec1; /* rgb */ color: rgb(156, 46, 193); /* oklch */ color: oklch(53.4% 0.223 315.8);
Tailwind
colors: {
custom: {
50: '#be73d4',
500: '#9c2ec1',
950: '#000000',
},
}SCSS
$custom: #9c2ec1; $custom-light: #be73d4; $custom-dark: #000000;
JSON
{
"hex": "#9c2ec1",
"rgb": {
"r": 156,
"g": 46,
"b": 193
},
"hsl": {
"h": 284.898,
"s": 61.506,
"l": 46.863
},
"oklch": {
"l": 0.5339,
"c": 0.22254,
"h": 315.8
},
"luminance": 0.12872
}Semantic roles & 50–950 ramp
primary
#9C2EC1
secondary
#92CC7F
accent
#E5436C
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83