#98269B#98269B
#98269B is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.7% C 0.197 H 326.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #98269B |
|---|---|
| RGB | rgb(152, 38, 155) |
| HSL | hsl(298, 61%, 38%) |
| HSV | hsv(298, 75%, 61%) |
| CMYK | cmyk(1.9%, 75.5%, 0%, 39.2%) |
| CIE-LAB | lab(38.60, 59.83, -38.81) |
| CIE-LCH | lch(38.60, 71.32, 327.03°) |
| OKLab | oklab(49.68% 0.1655 -0.1078) |
| OKLCH | oklch(49.68% 0.197 326.9) |
| XYZ | xyz(19.5581, 10.4296, 31.9870) |
| Luminance | 0.1043 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.50
Warm Purple
#952E8F
ΔE00 2.50
Darkmagenta
#8B008B
ΔE00 5.05
Barney
#AC1DB8
ΔE00 5.16
Medium Purple
#9E43A2
ΔE00 5.53
Purply
#983FB2
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98269B #299B26
analogous
#5E269B #98269B #9B2663
triadic
#98269B #9B9826 #269B98
tetradic
#98269B #9B5E26 #299B26 #26639B
square
#98269B #9B5E26 #299B26 #26639B
split-complementary
#98269B #639B26 #269B5E
monochromatic
#380E39 #681A6A #98269B #C832CC #D663D9
Accessibility & contrast
On white
6.81
#98269B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#98269B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #98269B
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98269B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98269B | 1.00 | 6.81 | 3.09 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#04529E
Deuteranopia (green-blind)
#446098
Tritanopia (blue-blind)
#9C3A5F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #98269b; /* rgb */ color: rgb(152, 38, 155); /* oklch */ color: oklch(49.7% 0.197 326.9);
Tailwind
colors: {
custom: {
50: '#ba6db9',
500: '#98269b',
950: '#000000',
},
}SCSS
$custom: #98269b; $custom-light: #ba6db9; $custom-dark: #000000;
JSON
{
"hex": "#98269b",
"rgb": {
"r": 152,
"g": 38,
"b": 155
},
"hsl": {
"h": 298.462,
"s": 60.622,
"l": 37.843
},
"oklch": {
"l": 0.49678,
"c": 0.19749,
"h": 326.9
},
"luminance": 0.10428
}Semantic roles & 50–950 ramp
primary
#98269B
secondary
#61BE5F
accent
#E44448
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80