#9B259A#9B259A
#9B259A is a mid, vivid purple. Relative luminance 0.106; OKLCH L 50.0% C 0.199 H 328.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9B259A |
|---|---|
| RGB | rgb(155, 37, 154) |
| HSL | hsl(301, 61%, 38%) |
| HSV | hsv(301, 76%, 61%) |
| CMYK | cmyk(0%, 76.1%, 0.6%, 39.2%) |
| CIE-LAB | lab(38.94, 60.63, -37.63) |
| CIE-LCH | lch(38.94, 71.36, 328.17°) |
| OKLab | oklab(50% 0.1697 -0.1043) |
| OKLCH | oklch(50% 0.199 328.4) |
| XYZ | xyz(20.0117, 10.6263, 31.5627) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.24
Warm Purple
#952E8F
ΔE00 2.28
Barney
#AC1DB8
ΔE00 5.10
Darkmagenta
#8B008B
ΔE00 5.30
Medium Purple
#9E43A2
ΔE00 5.36
Ugly Purple
#A442A0
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B259A #259B26
analogous
#61259B #9B259A #9B255F
triadic
#9B259A #9A9B25 #259A9B
tetradic
#9B259A #9B6125 #259B26 #255F9B
square
#9B259A #9B6125 #259B26 #255F9B
split-complementary
#9B259A #5F9B25 #259B61
monochromatic
#380D38 #6A1969 #9B259A #CC31CB #D961D8
Accessibility & contrast
On white
6.72
#9B259A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#9B259A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B259A
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B259A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B259A | 1.00 | 6.72 | 3.13 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A529D
Deuteranopia (green-blind)
#476197
Tritanopia (blue-blind)
#A0385E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9b259a; /* rgb */ color: rgb(155, 37, 154); /* oklch */ color: oklch(50.0% 0.199 328.4);
Tailwind
colors: {
custom: {
50: '#bc6db8',
500: '#9b259a',
950: '#000000',
},
}SCSS
$custom: #9b259a; $custom-light: #bc6db8; $custom-dark: #000000;
JSON
{
"hex": "#9b259a",
"rgb": {
"r": 155,
"g": 37,
"b": 154
},
"hsl": {
"h": 300.508,
"s": 61.458,
"l": 37.647
},
"oklch": {
"l": 0.50001,
"c": 0.19915,
"h": 328.4
},
"luminance": 0.10625
}Semantic roles & 50–950 ramp
primary
#9B259A
secondary
#5DBF5E
accent
#E54543
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80