#98299F#98299F
#98299F is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.198 H 325.4°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #98299F |
|---|---|
| RGB | rgb(152, 41, 159) |
| HSL | hsl(296, 59%, 39%) |
| HSV | hsv(296, 74%, 62%) |
| CMYK | cmyk(4.4%, 74.2%, 0%, 37.6%) |
| CIE-LAB | lab(39.18, 59.53, -40.30) |
| CIE-LCH | lch(39.18, 71.89, 325.90°) |
| OKLab | oklab(50.17% 0.1626 -0.1121) |
| OKLCH | oklch(50.17% 0.198 325.4) |
| XYZ | xyz(19.9994, 10.7658, 33.8188) |
| Luminance | 0.1076 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.05
Barney Purple
#A00498
ΔE00 3.11
Barney
#AC1DB8
ΔE00 4.61
Purply
#983FB2
ΔE00 4.92
Medium Purple
#9E43A2
ΔE00 5.13
Darkmagenta
#8B008B
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98299F #309F29
analogous
#5D299F #98299F #9F296B
triadic
#98299F #9F9829 #299F98
tetradic
#98299F #9F5D29 #309F29 #296B9F
square
#98299F #9F5D29 #309F29 #296B9F
split-complementary
#98299F #6B9F29 #299F5D
monochromatic
#3B103E #691C6E #98299F #C339CC #D26AD9
Accessibility & contrast
On white
6.66
#98299F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#98299F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #98299F
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98299F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98299F | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A2
Deuteranopia (green-blind)
#43619C
Tritanopia (blue-blind)
#9C3D62
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #98299f; /* rgb */ color: rgb(152, 41, 159); /* oklch */ color: oklch(50.2% 0.198 325.4);
Tailwind
colors: {
custom: {
50: '#ba6fbc',
500: '#98299f',
950: '#000000',
},
}SCSS
$custom: #98299f; $custom-light: #ba6fbc; $custom-dark: #000000;
JSON
{
"hex": "#98299f",
"rgb": {
"r": 152,
"g": 41,
"b": 159
},
"hsl": {
"h": 296.441,
"s": 59,
"l": 39.216
},
"oklch": {
"l": 0.50169,
"c": 0.19753,
"h": 325.4
},
"luminance": 0.10764
}Semantic roles & 50–950 ramp
primary
#98299F
secondary
#6ABF65
accent
#E2464F
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81