#9A259A#9A259A
#9A259A is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.199 H 328.1°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #9A259A |
|---|---|
| RGB | rgb(154, 37, 154) |
| HSL | hsl(300, 61%, 37%) |
| HSV | hsv(300, 76%, 60%) |
| CMYK | cmyk(0%, 76%, 0%, 39.6%) |
| CIE-LAB | lab(38.77, 60.41, -37.91) |
| CIE-LCH | lch(38.77, 71.32, 327.89°) |
| OKLab | oklab(49.85% 0.1686 -0.1051) |
| OKLCH | oklch(49.85% 0.199 328.1) |
| XYZ | xyz(19.8205, 10.5277, 31.5537) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.25
Warm Purple
#952E8F
ΔE00 2.30
Darkmagenta
#8B008B
ΔE00 5.15
Barney
#AC1DB8
ΔE00 5.16
Medium Purple
#9E43A2
ΔE00 5.46
Ugly Purple
#A442A0
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A259A #259A25
analogous
#60259A #9A259A #9A2560
triadic
#9A259A #9A9A25 #259A9A
tetradic
#9A259A #9A6025 #259A25 #25609A
square
#9A259A #9A6025 #259A25 #25609A
split-complementary
#9A259A #609A25 #259A60
monochromatic
#370D37 #691969 #9A259A #CB31CB #D960D9
Accessibility & contrast
On white
6.76
#9A259A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#9A259A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A259A
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A259A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A259A | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#08529D
Deuteranopia (green-blind)
#466197
Tritanopia (blue-blind)
#9F385E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9a259a; /* rgb */ color: rgb(154, 37, 154); /* oklch */ color: oklch(49.8% 0.199 328.1);
Tailwind
colors: {
custom: {
50: '#bb6db8',
500: '#9a259a',
950: '#000000',
},
}SCSS
$custom: #9a259a; $custom-light: #bb6db8; $custom-dark: #000000;
JSON
{
"hex": "#9a259a",
"rgb": {
"r": 154,
"g": 37,
"b": 154
},
"hsl": {
"h": 300,
"s": 61.257,
"l": 37.451
},
"oklch": {
"l": 0.49847,
"c": 0.19867,
"h": 328.1
},
"luminance": 0.10526
}Semantic roles & 50–950 ramp
primary
#9A259A
secondary
#5DBE5D
accent
#E44343
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80