#98309F#98309F
#98309F is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.8% C 0.189 H 325.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #98309F |
|---|---|
| RGB | rgb(152, 48, 159) |
| HSL | hsl(296, 54%, 41%) |
| HSV | hsv(296, 70%, 62%) |
| CMYK | cmyk(4.4%, 69.8%, 0%, 37.6%) |
| CIE-LAB | lab(40.07, 57.01, -38.89) |
| CIE-LCH | lch(40.07, 69.01, 325.70°) |
| OKLab | oklab(50.8% 0.1556 -0.1081) |
| OKLCH | oklch(50.8% 0.189 325.2) |
| XYZ | xyz(20.2634, 11.2938, 33.9068) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.94
Barney Purple
#A00498
ΔE00 3.90
Medium Purple
#9E43A2
ΔE00 4.12
Purply
#983FB2
ΔE00 4.26
Barney
#AC1DB8
ΔE00 4.63
Ugly Purple
#A442A0
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98309F #379F30
analogous
#60309F #98309F #9F306E
triadic
#98309F #9F9830 #309F98
tetradic
#98309F #9F6030 #379F30 #306E9F
square
#98309F #9F6030 #379F30 #306E9F
split-complementary
#98309F #6E9F30 #309F60
monochromatic
#3E1441 #6B2270 #98309F #BF45C7 #CF74D5
Accessibility & contrast
On white
6.44
#98309F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#98309F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #98309F
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98309F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98309F | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1656A2
Deuteranopia (green-blind)
#46639C
Tritanopia (blue-blind)
#9B4264
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #98309f; /* rgb */ color: rgb(152, 48, 159); /* oklch */ color: oklch(50.8% 0.189 325.2);
Tailwind
colors: {
custom: {
50: '#ba72bc',
500: '#98309f',
950: '#000000',
},
}SCSS
$custom: #98309f; $custom-light: #ba72bc; $custom-dark: #000000;
JSON
{
"hex": "#98309f",
"rgb": {
"r": 152,
"g": 48,
"b": 159
},
"hsl": {
"h": 296.216,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.50804,
"c": 0.18946,
"h": 325.2
},
"luminance": 0.11293
}Semantic roles & 50–950 ramp
primary
#98309F
secondary
#73BD6E
accent
#DD4B54
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81