#9C239F#9C239F
#9C239F is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.205 H 327.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #9C239F |
|---|---|
| RGB | rgb(156, 35, 159) |
| HSL | hsl(299, 64%, 38%) |
| HSV | hsv(299, 78%, 62%) |
| CMYK | cmyk(1.9%, 78%, 0%, 37.6%) |
| CIE-LAB | lab(39.20, 62.27, -40.24) |
| CIE-LCH | lch(39.20, 74.13, 327.13°) |
| OKLab | oklab(50.31% 0.1723 -0.1118) |
| OKLCH | oklch(50.31% 0.205 327) |
| XYZ | xyz(20.5690, 10.7747, 33.7905) |
| Luminance | 0.1077 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.40
Warm Purple
#952E8F
ΔE00 3.13
Barney
#AC1DB8
ΔE00 4.37
Purply
#983FB2
ΔE00 5.43
Medium Purple
#9E43A2
ΔE00 5.43
Darkmagenta
#8B008B
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C239F #269F23
analogous
#5E239F #9C239F #9F2364
triadic
#9C239F #9F9C23 #239F9C
tetradic
#9C239F #9F5E23 #269F23 #23649F
square
#9C239F #9F5E23 #269F23 #23649F
split-complementary
#9C239F #649F23 #239F5E
monochromatic
#3A0D3B #6B186D #9C239F #CD2ED1 #D960DC
Accessibility & contrast
On white
6.66
#9C239F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#9C239F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C239F
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C239F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C239F | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#44629C
Tritanopia (blue-blind)
#A13961
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9c239f; /* rgb */ color: rgb(156, 35, 159); /* oklch */ color: oklch(50.3% 0.205 327.0);
Tailwind
colors: {
custom: {
50: '#bd6dbc',
500: '#9c239f',
950: '#000000',
},
}SCSS
$custom: #9c239f; $custom-light: #bd6dbc; $custom-dark: #000000;
JSON
{
"hex": "#9c239f",
"rgb": {
"r": 156,
"g": 35,
"b": 159
},
"hsl": {
"h": 298.548,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.50309,
"c": 0.2054,
"h": 327
},
"luminance": 0.10773
}Semantic roles & 50–950 ramp
primary
#9C239F
secondary
#5FC15D
accent
#E74145
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81