#98319E#98319E
#98319E is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.8% C 0.187 H 325.6°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #98319E |
|---|---|
| RGB | rgb(152, 49, 158) |
| HSL | hsl(297, 53%, 41%) |
| HSV | hsv(297, 69%, 62%) |
| CMYK | cmyk(3.8%, 69%, 0%, 38%) |
| CIE-LAB | lab(40.15, 56.45, -38.16) |
| CIE-LCH | lch(40.15, 68.13, 325.94°) |
| OKLab | oklab(50.84% 0.1545 -0.106) |
| OKLCH | oklch(50.84% 0.187 325.6) |
| XYZ | xyz(20.2183, 11.3419, 33.4654) |
| Luminance | 0.1134 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.78
Medium Purple
#9E43A2
ΔE00 3.96
Barney Purple
#A00498
ΔE00 3.98
Purply
#983FB2
ΔE00 4.33
Ugly Purple
#A442A0
ΔE00 4.69
Barney
#AC1DB8
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98319E #379E31
analogous
#61319E #98319E #9E316D
triadic
#98319E #9E9831 #319E98
tetradic
#98319E #9E6131 #379E31 #316D9E
square
#98319E #9E6131 #379E31 #316D9E
split-complementary
#98319E #6D9E31 #319E61
monochromatic
#3E1441 #6B236F #98319E #BF46C6 #CF75D4
Accessibility & contrast
On white
6.43
#98319E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#98319E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #98319E
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98319E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98319E | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A56A1
Deuteranopia (green-blind)
#47639B
Tritanopia (blue-blind)
#9C4264
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #98319e; /* rgb */ color: rgb(152, 49, 158); /* oklch */ color: oklch(50.8% 0.187 325.6);
Tailwind
colors: {
custom: {
50: '#ba72bb',
500: '#98319e',
950: '#000000',
},
}SCSS
$custom: #98319e; $custom-light: #ba72bb; $custom-dark: #000000;
JSON
{
"hex": "#98319e",
"rgb": {
"r": 152,
"g": 49,
"b": 158
},
"hsl": {
"h": 296.697,
"s": 52.657,
"l": 40.588
},
"oklch": {
"l": 0.50843,
"c": 0.18738,
"h": 325.6
},
"luminance": 0.11341
}Semantic roles & 50–950 ramp
primary
#98319E
secondary
#73BC6E
accent
#DC4C54
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81