#982CBD#982CBD
#982CBD is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.220 H 315.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #982CBD |
|---|---|
| RGB | rgb(152, 44, 189) |
| HSL | hsl(285, 62%, 46%) |
| HSV | hsv(285, 77%, 74%) |
| CMYK | cmyk(19.6%, 76.7%, 0%, 25.9%) |
| CIE-LAB | lab(41.46, 64.07, -54.48) |
| CIE-LCH | lch(41.46, 84.10, 319.63°) |
| OKLab | oklab(52.39% 0.157 -0.1537) |
| OKLCH | oklch(52.39% 0.22 315.6) |
| XYZ | xyz(23.0334, 12.1518, 49.2665) |
| Luminance | 0.1215 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.55
Purply
#983FB2
ΔE00 3.59
Barney
#AC1DB8
ΔE00 3.86
Darkviolet
#9400D3
ΔE00 4.49
Vibrant Purple
#AD03DE
ΔE00 5.04
Violet (survey)
#9A0EEA
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982CBD #51BD2C
analogous
#502CBD #982CBD #BD2C99
triadic
#982CBD #BD982C #2CBD98
tetradic
#982CBD #BD502C #51BD2C #2C99BD
square
#982CBD #BD502C #51BD2C #2C99BD
split-complementary
#982CBD #99BD2C #2CBD50
monochromatic
#48155A #70208B #982CBD #B450D6 #C982E2
Accessibility & contrast
On white
6.12
#982CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#982CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #982CBD
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982CBD | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#2865BA
Tritanopia (blue-blind)
#954D74
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #982cbd; /* rgb */ color: rgb(152, 44, 189); /* oklch */ color: oklch(52.4% 0.220 315.6);
Tailwind
colors: {
custom: {
50: '#bb71d2',
500: '#982cbd',
950: '#000000',
},
}SCSS
$custom: #982cbd; $custom-light: #bb71d2; $custom-dark: #000000;
JSON
{
"hex": "#982cbd",
"rgb": {
"r": 152,
"g": 44,
"b": 189
},
"hsl": {
"h": 284.69,
"s": 62.232,
"l": 45.686
},
"oklch": {
"l": 0.52394,
"c": 0.21969,
"h": 315.6
},
"luminance": 0.12151
}Semantic roles & 50–950 ramp
primary
#982CBD
secondary
#8FCB7A
accent
#E5426C
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83