#982FB5#982FB5
#982FB5 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.210 H 317.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #982FB5 |
|---|---|
| RGB | rgb(152, 47, 181) |
| HSL | hsl(287, 59%, 45%) |
| HSV | hsv(287, 74%, 71%) |
| CMYK | cmyk(16%, 74%, 0%, 29%) |
| CIE-LAB | lab(41.29, 61.47, -50.04) |
| CIE-LCH | lch(41.29, 79.27, 320.85°) |
| OKLab | oklab(52.11% 0.1554 -0.1407) |
| OKLCH | oklch(52.11% 0.21 317.8) |
| XYZ | xyz(22.3047, 12.0456, 44.8572) |
| Luminance | 0.1205 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.81
Barney
#AC1DB8
ΔE00 3.45
Darkorchid
#9932CC
ΔE00 3.65
Darkviolet
#9400D3
ΔE00 5.66
Medium Purple
#9E43A2
ΔE00 5.84
Vibrant Purple
#AD03DE
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982FB5 #4CB52F
analogous
#552FB5 #982FB5 #B52F8F
triadic
#982FB5 #B5982F #2FB598
tetradic
#982FB5 #B5552F #4CB52F #2F8FB5
square
#982FB5 #B5552F #4CB52F #2F8FB5
split-complementary
#982FB5 #8FB52F #2FB555
monochromatic
#461654 #6F2284 #982FB5 #B550D1 #CA80DE
Accessibility & contrast
On white
6.16
#982FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#982FB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #982FB5
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982FB5 | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#3465B2
Tritanopia (blue-blind)
#974B70
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #982fb5; /* rgb */ color: rgb(152, 47, 181); /* oklch */ color: oklch(52.1% 0.210 317.8);
Tailwind
colors: {
custom: {
50: '#ba72cc',
500: '#982fb5',
950: '#000000',
},
}SCSS
$custom: #982fb5; $custom-light: #ba72cc; $custom-dark: #000000;
JSON
{
"hex": "#982fb5",
"rgb": {
"r": 152,
"g": 47,
"b": 181
},
"hsl": {
"h": 287.015,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.52106,
"c": 0.20959,
"h": 317.8
},
"luminance": 0.12045
}Semantic roles & 50–950 ramp
primary
#982FB5
secondary
#8AC779
accent
#E24668
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82