#98549E#98549E
#98549E is a mid, vivid purple. Relative luminance 0.155; OKLCH L 55.3% C 0.134 H 324.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #98549E |
|---|---|
| RGB | rgb(152, 84, 158) |
| HSL | hsl(295, 31%, 47%) |
| HSV | hsv(295, 47%, 62%) |
| CMYK | cmyk(3.8%, 46.8%, 0%, 38%) |
| CIE-LAB | lab(46.29, 39.84, -28.49) |
| CIE-LCH | lch(46.29, 48.98, 324.43°) |
| OKLab | oklab(55.34% 0.1085 -0.0783) |
| OKLCH | oklch(55.34% 0.134 324.2) |
| XYZ | xyz(22.2902, 15.4857, 34.1560) |
| Luminance | 0.1548 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 4.20
Purplish
#94568C
ΔE00 4.36
Purpleish
#98568D
ΔE00 4.40
Ugly Purple
#A442A0
ΔE00 4.41
Light Eggplant
#894585
ΔE00 6.22
Purply
#983FB2
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98549E #5A9E54
analogous
#73549E #98549E #9E547F
triadic
#98549E #9E9854 #549E98
tetradic
#98549E #9E7354 #5A9E54 #547F9E
square
#98549E #9E7354 #5A9E54 #547F9E
split-complementary
#98549E #7F9E54 #549E73
monochromatic
#4B2A4E #723F76 #98549E #B278B7 #C9A0CC
Accessibility & contrast
On white
5.13
#98549E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#98549E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #98549E
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98549E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98549E | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B68A1
Deuteranopia (green-blind)
#5F719C
Tritanopia (blue-blind)
#9B5D71
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #98549e; /* rgb */ color: rgb(152, 84, 158); /* oklch */ color: oklch(55.3% 0.134 324.2);
Tailwind
colors: {
custom: {
50: '#b886bb',
500: '#98549e',
950: '#000000',
},
}SCSS
$custom: #98549e; $custom-light: #b886bb; $custom-dark: #000000;
JSON
{
"hex": "#98549e",
"rgb": {
"r": 152,
"g": 84,
"b": 158
},
"hsl": {
"h": 295.135,
"s": 30.579,
"l": 47.451
},
"oklch": {
"l": 0.55338,
"c": 0.13378,
"h": 324.2
},
"luminance": 0.15485
}Semantic roles & 50–950 ramp
primary
#98549E
secondary
#97BA94
accent
#C76169
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B12
muted
#817C81