#98309C#98309C
#98309C is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.187 H 326.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #98309C |
|---|---|
| RGB | rgb(152, 48, 156) |
| HSL | hsl(298, 53%, 40%) |
| HSV | hsv(298, 69%, 61%) |
| CMYK | cmyk(2.6%, 69.2%, 0%, 38.8%) |
| CIE-LAB | lab(39.90, 56.48, -37.35) |
| CIE-LCH | lch(39.90, 67.71, 326.52°) |
| OKLab | oklab(50.63% 0.1556 -0.1036) |
| OKLCH | oklch(50.63% 0.187 326.3) |
| XYZ | xyz(20.0062, 11.1909, 32.5524) |
| Luminance | 0.1119 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.39
Barney Purple
#A00498
ΔE00 3.73
Medium Purple
#9E43A2
ΔE00 4.12
Purply
#983FB2
ΔE00 4.72
Ugly Purple
#A442A0
ΔE00 4.77
Barney
#AC1DB8
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98309C #349C30
analogous
#62309C #98309C #9C306A
triadic
#98309C #9C9830 #309C98
tetradic
#98309C #9C6230 #349C30 #306A9C
square
#98309C #9C6230 #349C30 #306A9C
split-complementary
#98309C #6A9C30 #309C62
monochromatic
#3D133E #6A226D #98309C #C144C5 #D073D4
Accessibility & contrast
On white
6.49
#98309C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#98309C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #98309C
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98309C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98309C | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B569F
Deuteranopia (green-blind)
#486399
Tritanopia (blue-blind)
#9C4062
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #98309c; /* rgb */ color: rgb(152, 48, 156); /* oklch */ color: oklch(50.6% 0.187 326.3);
Tailwind
colors: {
custom: {
50: '#ba72ba',
500: '#98309c',
950: '#000000',
},
}SCSS
$custom: #98309c; $custom-light: #ba72ba; $custom-dark: #000000;
JSON
{
"hex": "#98309c",
"rgb": {
"r": 152,
"g": 48,
"b": 156
},
"hsl": {
"h": 297.778,
"s": 52.941,
"l": 40
},
"oklch": {
"l": 0.50626,
"c": 0.18694,
"h": 326.3
},
"luminance": 0.1119
}Semantic roles & 50–950 ramp
primary
#98309C
secondary
#6FBC6C
accent
#DC4B51
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80