#98289E#98289E
#98289E is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.198 H 325.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #98289E |
|---|---|
| RGB | rgb(152, 40, 158) |
| HSL | hsl(297, 60%, 39%) |
| HSV | hsv(297, 75%, 62%) |
| CMYK | cmyk(3.8%, 74.7%, 0%, 38%) |
| CIE-LAB | lab(39.01, 59.69, -39.98) |
| CIE-LCH | lch(39.01, 71.85, 326.19°) |
| OKLab | oklab(50.02% 0.1636 -0.1112) |
| OKLCH | oklch(50.02% 0.198 325.8) |
| XYZ | xyz(19.8788, 10.6629, 33.3522) |
| Luminance | 0.1066 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.91
Barney Purple
#A00498
ΔE00 2.92
Barney
#AC1DB8
ΔE00 4.75
Purply
#983FB2
ΔE00 5.14
Medium Purple
#9E43A2
ΔE00 5.26
Darkmagenta
#8B008B
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98289E #2E9E28
analogous
#5D289E #98289E #9E2869
triadic
#98289E #9E9828 #289E98
tetradic
#98289E #9E5D28 #2E9E28 #28699E
square
#98289E #9E5D28 #2E9E28 #28699E
split-complementary
#98289E #699E28 #289E5D
monochromatic
#3A0F3C #691C6D #98289E #C537CC #D368D9
Accessibility & contrast
On white
6.70
#98289E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#98289E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #98289E
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98289E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98289E | 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)
#0053A1
Deuteranopia (green-blind)
#43619B
Tritanopia (blue-blind)
#9C3C61
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #98289e; /* rgb */ color: rgb(152, 40, 158); /* oklch */ color: oklch(50.0% 0.198 325.8);
Tailwind
colors: {
custom: {
50: '#ba6ebb',
500: '#98289e',
950: '#000000',
},
}SCSS
$custom: #98289e; $custom-light: #ba6ebb; $custom-dark: #000000;
JSON
{
"hex": "#98289e",
"rgb": {
"r": 152,
"g": 40,
"b": 158
},
"hsl": {
"h": 296.949,
"s": 59.596,
"l": 38.824
},
"oklch": {
"l": 0.50024,
"c": 0.19778,
"h": 325.8
},
"luminance": 0.10662
}Semantic roles & 50–950 ramp
primary
#98289E
secondary
#68BF63
accent
#E3454D
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81