#982095#982095
#982095 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.9% C 0.199 H 329.2°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #982095 |
|---|---|
| RGB | rgb(152, 32, 149) |
| HSL | hsl(302, 65%, 36%) |
| HSV | hsv(302, 79%, 60%) |
| CMYK | cmyk(0%, 78.9%, 2%, 40.4%) |
| CIE-LAB | lab(37.63, 60.64, -36.72) |
| CIE-LCH | lch(37.63, 70.89, 328.80°) |
| OKLab | oklab(48.87% 0.1707 -0.1017) |
| OKLCH | oklch(48.87% 0.199 329.2) |
| XYZ | xyz(18.8901, 9.8798, 29.3400) |
| Luminance | 0.0988 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.80
Warm Purple
#952E8F
ΔE00 2.15
Darkmagenta
#8B008B
ΔE00 4.20
Purple (survey)
#7E1E9C
ΔE00 6.08
Barney
#AC1DB8
ΔE00 6.11
Purple
#800080
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982095 #209823
analogous
#5F2098 #982095 #982059
triadic
#982095 #959820 #209598
tetradic
#982095 #985F20 #209823 #205998
square
#982095 #985F20 #209823 #205998
split-complementary
#982095 #599820 #20985F
monochromatic
#330B32 #651563 #982095 #CB2BC7 #DC57D8
Accessibility & contrast
On white
7.06
#982095 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#982095 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982095
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982095 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982095 | 1.00 | 7.06 | 2.98 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#054E98
Deuteranopia (green-blind)
#455E92
Tritanopia (blue-blind)
#9D335A
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #982095; /* rgb */ color: rgb(152, 32, 149); /* oklch */ color: oklch(48.9% 0.199 329.2);
Tailwind
colors: {
custom: {
50: '#ba6bb4',
500: '#982095',
950: '#000000',
},
}SCSS
$custom: #982095; $custom-light: #ba6bb4; $custom-dark: #000000;
JSON
{
"hex": "#982095",
"rgb": {
"r": 152,
"g": 32,
"b": 149
},
"hsl": {
"h": 301.5,
"s": 65.217,
"l": 36.078
},
"oklch": {
"l": 0.4887,
"c": 0.19871,
"h": 329.2
},
"luminance": 0.09878
}Semantic roles & 50–950 ramp
primary
#982095
secondary
#54BF57
accent
#E84440
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80