#98279B#98279B
#98279B is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.196 H 326.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #98279B |
|---|---|
| RGB | rgb(152, 39, 155) |
| HSL | hsl(298, 60%, 38%) |
| HSV | hsv(298, 75%, 61%) |
| CMYK | cmyk(1.9%, 74.8%, 0%, 39.2%) |
| CIE-LAB | lab(38.72, 59.51, -38.63) |
| CIE-LCH | lch(38.72, 70.95, 327.01°) |
| OKLab | oklab(49.76% 0.1646 -0.1073) |
| OKLCH | oklch(49.76% 0.196 326.9) |
| XYZ | xyz(19.5905, 10.4944, 31.9978) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.44
Barney Purple
#A00498
ΔE00 2.59
Barney
#AC1DB8
ΔE00 5.14
Darkmagenta
#8B008B
ΔE00 5.15
Medium Purple
#9E43A2
ΔE00 5.40
Purply
#983FB2
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98279B #2A9B27
analogous
#5E279B #98279B #9B2764
triadic
#98279B #9B9827 #279B98
tetradic
#98279B #9B5E27 #2A9B27 #27649B
square
#98279B #9B5E27 #2A9B27 #27649B
split-complementary
#98279B #649B27 #279B5E
monochromatic
#380E39 #681B6A #98279B #C833CC #D564D8
Accessibility & contrast
On white
6.78
#98279B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#98279B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #98279B
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98279B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98279B | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#07529E
Deuteranopia (green-blind)
#446098
Tritanopia (blue-blind)
#9C3A5F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #98279b; /* rgb */ color: rgb(152, 39, 155); /* oklch */ color: oklch(49.8% 0.196 326.9);
Tailwind
colors: {
custom: {
50: '#ba6eb9',
500: '#98279b',
950: '#000000',
},
}SCSS
$custom: #98279b; $custom-light: #ba6eb9; $custom-dark: #000000;
JSON
{
"hex": "#98279b",
"rgb": {
"r": 152,
"g": 39,
"b": 155
},
"hsl": {
"h": 298.448,
"s": 59.794,
"l": 38.039
},
"oklch": {
"l": 0.49759,
"c": 0.19645,
"h": 326.9
},
"luminance": 0.10493
}Semantic roles & 50–950 ramp
primary
#98279B
secondary
#62BE60
accent
#E34549
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80