#98309B#98309B
#98309B is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.186 H 326.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #98309B |
|---|---|
| RGB | rgb(152, 48, 155) |
| HSL | hsl(298, 53%, 40%) |
| HSV | hsv(298, 69%, 61%) |
| CMYK | cmyk(1.9%, 69%, 0%, 39.2%) |
| CIE-LAB | lab(39.84, 56.30, -36.84) |
| CIE-LCH | lch(39.84, 67.28, 326.80°) |
| OKLab | oklab(50.57% 0.1556 -0.1021) |
| OKLCH | oklch(50.57% 0.186 326.7) |
| XYZ | xyz(19.9219, 11.1572, 32.1082) |
| Luminance | 0.1116 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.21
Barney Purple
#A00498
ΔE00 3.69
Medium Purple
#9E43A2
ΔE00 4.14
Ugly Purple
#A442A0
ΔE00 4.75
Purply
#983FB2
ΔE00 4.87
Barney
#AC1DB8
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98309B #339B30
analogous
#63309B #98309B #9B3068
triadic
#98309B #9B9830 #309B98
tetradic
#98309B #9B6330 #339B30 #30689B
square
#98309B #9B6330 #339B30 #30689B
split-complementary
#98309B #689B30 #309B63
monochromatic
#3C133E #6A226C #98309B #C143C5 #D172D3
Accessibility & contrast
On white
6.50
#98309B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#98309B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #98309B
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98309B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98309B | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C559E
Deuteranopia (green-blind)
#496298
Tritanopia (blue-blind)
#9C4062
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #98309b; /* rgb */ color: rgb(152, 48, 155); /* oklch */ color: oklch(50.6% 0.186 326.7);
Tailwind
colors: {
custom: {
50: '#ba72b9',
500: '#98309b',
950: '#000000',
},
}SCSS
$custom: #98309b; $custom-light: #ba72b9; $custom-dark: #000000;
JSON
{
"hex": "#98309b",
"rgb": {
"r": 152,
"g": 48,
"b": 155
},
"hsl": {
"h": 298.318,
"s": 52.709,
"l": 39.804
},
"oklch": {
"l": 0.50568,
"c": 0.1861,
"h": 326.7
},
"luminance": 0.11156
}Semantic roles & 50–950 ramp
primary
#98309B
secondary
#6EBB6C
accent
#DC4C50
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80