#98299C#98299C
#98299C is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.195 H 326.5°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #98299C |
|---|---|
| RGB | rgb(152, 41, 156) |
| HSL | hsl(298, 58%, 39%) |
| HSV | hsv(298, 74%, 61%) |
| CMYK | cmyk(2.6%, 73.7%, 0%, 38.8%) |
| CIE-LAB | lab(39.01, 59.01, -38.77) |
| CIE-LCH | lch(39.01, 70.61, 326.69°) |
| OKLab | oklab(49.99% 0.1627 -0.1077) |
| OKLCH | oklch(49.99% 0.195 326.5) |
| XYZ | xyz(19.7422, 10.6629, 32.4644) |
| Luminance | 0.1066 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.52
Barney Purple
#A00498
ΔE00 2.87
Barney
#AC1DB8
ΔE00 4.98
Medium Purple
#9E43A2
ΔE00 5.13
Purply
#983FB2
ΔE00 5.30
Darkmagenta
#8B008B
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98299C #2D9C29
analogous
#5E299C #98299C #9C2966
triadic
#98299C #9C9829 #299C98
tetradic
#98299C #9C5E29 #2D9C29 #29669C
square
#98299C #9C5E29 #2D9C29 #29669C
split-complementary
#98299C #669C29 #299C5E
monochromatic
#3A103B #691C6C #98299C #C538CB #D368D7
Accessibility & contrast
On white
6.70
#98299C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#98299C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #98299C
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98299C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98299C | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A539F
Deuteranopia (green-blind)
#446199
Tritanopia (blue-blind)
#9C3C60
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #98299c; /* rgb */ color: rgb(152, 41, 156); /* oklch */ color: oklch(50.0% 0.195 326.5);
Tailwind
colors: {
custom: {
50: '#ba6fba',
500: '#98299c',
950: '#000000',
},
}SCSS
$custom: #98299c; $custom-light: #ba6fba; $custom-dark: #000000;
JSON
{
"hex": "#98299c",
"rgb": {
"r": 152,
"g": 41,
"b": 156
},
"hsl": {
"h": 297.913,
"s": 58.376,
"l": 38.627
},
"oklch": {
"l": 0.49986,
"c": 0.1951,
"h": 326.5
},
"luminance": 0.10662
}Semantic roles & 50–950 ramp
primary
#98299C
secondary
#66BE63
accent
#E2464C
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80