#9A239F#9A239F
#9A239F is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.205 H 326.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9A239F |
|---|---|
| RGB | rgb(154, 35, 159) |
| HSL | hsl(298, 64%, 38%) |
| HSV | hsv(298, 78%, 62%) |
| CMYK | cmyk(3.1%, 78%, 0%, 37.6%) |
| CIE-LAB | lab(38.86, 61.85, -40.80) |
| CIE-LCH | lch(38.86, 74.10, 326.59°) |
| OKLab | oklab(50% 0.1701 -0.1135) |
| OKLCH | oklch(50% 0.205 326.3) |
| XYZ | xyz(20.1851, 10.5767, 33.7725) |
| Luminance | 0.1057 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.48
Warm Purple
#952E8F
ΔE00 3.21
Barney
#AC1DB8
ΔE00 4.55
Darkmagenta
#8B008B
ΔE00 5.28
Purply
#983FB2
ΔE00 5.44
Medium Purple
#9E43A2
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A239F #289F23
analogous
#5C239F #9A239F #9F2366
triadic
#9A239F #9F9A23 #239F9A
tetradic
#9A239F #9F5C23 #289F23 #23669F
square
#9A239F #9F5C23 #289F23 #23669F
split-complementary
#9A239F #669F23 #239F5C
monochromatic
#390D3B #69186D #9A239F #CA2ED1 #D760DC
Accessibility & contrast
On white
6.74
#9A239F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#9A239F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A239F
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A239F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A239F | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#42609C
Tritanopia (blue-blind)
#9E3961
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9a239f; /* rgb */ color: rgb(154, 35, 159); /* oklch */ color: oklch(50.0% 0.205 326.3);
Tailwind
colors: {
custom: {
50: '#bc6dbc',
500: '#9a239f',
950: '#000000',
},
}SCSS
$custom: #9a239f; $custom-light: #bc6dbc; $custom-dark: #000000;
JSON
{
"hex": "#9a239f",
"rgb": {
"r": 154,
"g": 35,
"b": 159
},
"hsl": {
"h": 297.581,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.50002,
"c": 0.20451,
"h": 326.3
},
"luminance": 0.10575
}Semantic roles & 50–950 ramp
primary
#9A239F
secondary
#61C15D
accent
#E74148
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81