#98259B#98259B
#98259B is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.199 H 326.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #98259B |
|---|---|
| RGB | rgb(152, 37, 155) |
| HSL | hsl(298, 61%, 38%) |
| HSV | hsv(298, 76%, 61%) |
| CMYK | cmyk(1.9%, 76.1%, 0%, 39.2%) |
| CIE-LAB | lab(38.49, 60.15, -38.99) |
| CIE-LCH | lch(38.49, 71.68, 327.05°) |
| OKLab | oklab(49.6% 0.1664 -0.1083) |
| OKLCH | oklch(49.6% 0.199 326.9) |
| XYZ | xyz(19.5265, 10.3665, 31.9765) |
| Luminance | 0.1037 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.41
Warm Purple
#952E8F
ΔE00 2.57
Darkmagenta
#8B008B
ΔE00 4.94
Barney
#AC1DB8
ΔE00 5.18
Medium Purple
#9E43A2
ΔE00 5.65
Purply
#983FB2
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98259B #289B25
analogous
#5D259B #98259B #9B2563
triadic
#98259B #9B9825 #259B98
tetradic
#98259B #9B5D25 #289B25 #25639B
square
#98259B #9B5D25 #289B25 #25639B
split-complementary
#98259B #639B25 #259B5D
monochromatic
#370D38 #68196A #98259B #C831CC #D661D9
Accessibility & contrast
On white
6.83
#98259B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#98259B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #98259B
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98259B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98259B | 1.00 | 6.83 | 3.07 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#436098
Tritanopia (blue-blind)
#9C395F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #98259b; /* rgb */ color: rgb(152, 37, 155); /* oklch */ color: oklch(49.6% 0.199 326.9);
Tailwind
colors: {
custom: {
50: '#ba6db9',
500: '#98259b',
950: '#000000',
},
}SCSS
$custom: #98259b; $custom-light: #ba6db9; $custom-dark: #000000;
JSON
{
"hex": "#98259b",
"rgb": {
"r": 152,
"g": 37,
"b": 155
},
"hsl": {
"h": 298.475,
"s": 61.458,
"l": 37.647
},
"oklch": {
"l": 0.496,
"c": 0.19851,
"h": 326.9
},
"luminance": 0.10365
}Semantic roles & 50–950 ramp
primary
#98259B
secondary
#60BF5D
accent
#E54347
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80