#982BB5#982BB5
#982BB5 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.8% C 0.214 H 318.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #982BB5 |
|---|---|
| RGB | rgb(152, 43, 181) |
| HSL | hsl(287, 62%, 44%) |
| HSV | hsv(287, 76%, 71%) |
| CMYK | cmyk(16%, 76.2%, 0%, 29%) |
| CIE-LAB | lab(40.80, 62.87, -50.83) |
| CIE-LCH | lch(40.80, 80.85, 321.05°) |
| OKLab | oklab(51.76% 0.159 -0.1429) |
| OKLCH | oklch(51.76% 0.214 318) |
| XYZ | xyz(22.1521, 11.7404, 44.8064) |
| Luminance | 0.1174 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.36
Barney
#AC1DB8
ΔE00 3.46
Darkorchid
#9932CC
ΔE00 3.81
Darkviolet
#9400D3
ΔE00 5.33
Vibrant Purple
#AD03DE
ΔE00 6.02
Barney Purple
#A00498
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982BB5 #48B52B
analogous
#532BB5 #982BB5 #B52B8D
triadic
#982BB5 #B5982B #2BB598
tetradic
#982BB5 #B5532B #48B52B #2B8DB5
square
#982BB5 #B5532B #48B52B #2B8DB5
split-complementary
#982BB5 #8DB52B #2BB553
monochromatic
#451452 #6E1F84 #982BB5 #B749D4 #CA7BE0
Accessibility & contrast
On white
6.27
#982BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#982BB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #982BB5
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982BB5 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#3163B2
Tritanopia (blue-blind)
#97496F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #982bb5; /* rgb */ color: rgb(152, 43, 181); /* oklch */ color: oklch(51.8% 0.214 318.0);
Tailwind
colors: {
custom: {
50: '#ba71cc',
500: '#982bb5',
950: '#000000',
},
}SCSS
$custom: #982bb5; $custom-light: #ba71cc; $custom-dark: #000000;
JSON
{
"hex": "#982bb5",
"rgb": {
"r": 152,
"g": 43,
"b": 181
},
"hsl": {
"h": 287.391,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.5176,
"c": 0.2138,
"h": 318
},
"luminance": 0.11739
}Semantic roles & 50–950 ramp
primary
#982BB5
secondary
#86C874
accent
#E54365
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82