#9C2DA5#9C2DA5
#9C2DA5 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.5% C 0.200 H 324.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2DA5 |
|---|---|
| RGB | rgb(156, 45, 165) |
| HSL | hsl(296, 57%, 41%) |
| HSV | hsv(296, 73%, 65%) |
| CMYK | cmyk(5.5%, 72.7%, 0%, 35.3%) |
| CIE-LAB | lab(40.67, 60.08, -41.49) |
| CIE-LCH | lch(40.67, 73.01, 325.37°) |
| OKLab | oklab(51.48% 0.1631 -0.1155) |
| OKLCH | oklch(51.48% 0.2 324.7) |
| XYZ | xyz(21.4397, 11.6627, 36.7119) |
| Luminance | 0.1166 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 3.54
Purply
#983FB2
ΔE00 3.81
Warm Purple
#952E8F
ΔE00 3.90
Barney Purple
#A00498
ΔE00 4.00
Medium Purple
#9E43A2
ΔE00 4.26
Ugly Purple
#A442A0
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2DA5 #36A52D
analogous
#602DA5 #9C2DA5 #A52D72
triadic
#9C2DA5 #A59C2D #2DA59C
tetradic
#9C2DA5 #A5602D #36A52D #2D72A5
square
#9C2DA5 #A5602D #36A52D #2D72A5
split-complementary
#9C2DA5 #72A52D #2DA560
monochromatic
#411345 #6F2075 #9C2DA5 #C243CC #D173D9
Accessibility & contrast
On white
6.30
#9C2DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#9C2DA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2DA5
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2DA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2DA5 | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0457A8
Deuteranopia (green-blind)
#4564A2
Tritanopia (blue-blind)
#9F4266
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9c2da5; /* rgb */ color: rgb(156, 45, 165); /* oklch */ color: oklch(51.5% 0.200 324.7);
Tailwind
colors: {
custom: {
50: '#bd71c0',
500: '#9c2da5',
950: '#000000',
},
}SCSS
$custom: #9c2da5; $custom-light: #bd71c0; $custom-dark: #000000;
JSON
{
"hex": "#9c2da5",
"rgb": {
"r": 156,
"g": 45,
"b": 165
},
"hsl": {
"h": 295.5,
"s": 57.143,
"l": 41.176
},
"oklch": {
"l": 0.51476,
"c": 0.19988,
"h": 324.7
},
"luminance": 0.11661
}Semantic roles & 50–950 ramp
primary
#9C2DA5
secondary
#74C16D
accent
#E04753
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81