#982D9F#982D9F
#982D9F is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.193 H 325.3°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #982D9F |
|---|---|
| RGB | rgb(152, 45, 159) |
| HSL | hsl(296, 56%, 40%) |
| HSV | hsv(296, 72%, 62%) |
| CMYK | cmyk(4.4%, 71.7%, 0%, 37.6%) |
| CIE-LAB | lab(39.68, 58.13, -39.52) |
| CIE-LCH | lch(39.68, 70.29, 325.79°) |
| OKLab | oklab(50.52% 0.1587 -0.1099) |
| OKLCH | oklch(50.52% 0.193 325.3) |
| XYZ | xyz(20.1448, 11.0567, 33.8673) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.95
Barney Purple
#A00498
ΔE00 3.53
Purply
#983FB2
ΔE00 4.54
Medium Purple
#9E43A2
ΔE00 4.57
Barney
#AC1DB8
ΔE00 4.59
Ugly Purple
#A442A0
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982D9F #349F2D
analogous
#5F2D9F #982D9F #9F2D6D
triadic
#982D9F #9F982D #2D9F98
tetradic
#982D9F #9F5F2D #349F2D #2D6D9F
square
#982D9F #9F5F2D #349F2D #2D6D9F
split-complementary
#982D9F #6D9F2D #2D9F5F
monochromatic
#3D1240 #6A206F #982D9F #C140C9 #D070D6
Accessibility & contrast
On white
6.54
#982D9F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#982D9F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #982D9F
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982D9F | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E55A2
Deuteranopia (green-blind)
#45629C
Tritanopia (blue-blind)
#9C4063
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #982d9f; /* rgb */ color: rgb(152, 45, 159); /* oklch */ color: oklch(50.5% 0.193 325.3);
Tailwind
colors: {
custom: {
50: '#ba70bc',
500: '#982d9f',
950: '#000000',
},
}SCSS
$custom: #982d9f; $custom-light: #ba70bc; $custom-dark: #000000;
JSON
{
"hex": "#982d9f",
"rgb": {
"r": 152,
"g": 45,
"b": 159
},
"hsl": {
"h": 296.316,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.50521,
"c": 0.19303,
"h": 325.3
},
"luminance": 0.11055
}Semantic roles & 50–950 ramp
primary
#982D9F
secondary
#6FBE6A
accent
#DF4952
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81