#98289F#98289F
#98289F is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.1% C 0.199 H 325.4°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #98289F |
|---|---|
| RGB | rgb(152, 40, 159) |
| HSL | hsl(296, 60%, 39%) |
| HSV | hsv(296, 75%, 62%) |
| CMYK | cmyk(4.4%, 74.8%, 0%, 37.6%) |
| CIE-LAB | lab(39.07, 59.87, -40.49) |
| CIE-LCH | lch(39.07, 72.27, 325.93°) |
| OKLab | oklab(50.09% 0.1635 -0.1127) |
| OKLCH | oklch(50.09% 0.199 325.4) |
| XYZ | xyz(19.9652, 10.6975, 33.8074) |
| Luminance | 0.1070 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 3.01
Warm Purple
#952E8F
ΔE00 3.09
Barney
#AC1DB8
ΔE00 4.63
Purply
#983FB2
ΔE00 5.02
Medium Purple
#9E43A2
ΔE00 5.27
Darkmagenta
#8B008B
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98289F #2F9F28
analogous
#5D289F #98289F #9F286B
triadic
#98289F #9F9828 #289F98
tetradic
#98289F #9F5D28 #2F9F28 #286B9F
square
#98289F #9F5D28 #2F9F28 #286B9F
split-complementary
#98289F #6B9F28 #289F5D
monochromatic
#3B0F3D #691C6E #98289F #C437CD #D268D9
Accessibility & contrast
On white
6.69
#98289F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#98289F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #98289F
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98289F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98289F | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#42619C
Tritanopia (blue-blind)
#9C3D62
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #98289f; /* rgb */ color: rgb(152, 40, 159); /* oklch */ color: oklch(50.1% 0.199 325.4);
Tailwind
colors: {
custom: {
50: '#ba6ebc',
500: '#98289f',
950: '#000000',
},
}SCSS
$custom: #98289f; $custom-light: #ba6ebc; $custom-dark: #000000;
JSON
{
"hex": "#98289f",
"rgb": {
"r": 152,
"g": 40,
"b": 159
},
"hsl": {
"h": 296.471,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.50085,
"c": 0.1986,
"h": 325.4
},
"luminance": 0.10696
}Semantic roles & 50–950 ramp
primary
#98289F
secondary
#69BF64
accent
#E3454E
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81