#982B9F#982B9F
#982B9F is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.195 H 325.4°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #982B9F |
|---|---|
| RGB | rgb(152, 43, 159) |
| HSL | hsl(296, 57%, 40%) |
| HSV | hsv(296, 73%, 62%) |
| CMYK | cmyk(4.4%, 73%, 0%, 37.6%) |
| CIE-LAB | lab(39.42, 58.84, -39.92) |
| CIE-LCH | lch(39.42, 71.11, 325.85°) |
| OKLab | oklab(50.34% 0.1607 -0.111) |
| OKLCH | oklch(50.34% 0.195 325.4) |
| XYZ | xyz(20.0703, 10.9077, 33.8424) |
| Luminance | 0.1091 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.98
Barney Purple
#A00498
ΔE00 3.31
Barney
#AC1DB8
ΔE00 4.59
Purply
#983FB2
ΔE00 4.73
Medium Purple
#9E43A2
ΔE00 4.86
Ugly Purple
#A442A0
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982B9F #329F2B
analogous
#5E2B9F #982B9F #9F2B6C
triadic
#982B9F #9F982B #2B9F98
tetradic
#982B9F #9F5E2B #329F2B #2B6C9F
square
#982B9F #9F5E2B #329F2B #2B6C9F
split-complementary
#982B9F #6C9F2B #2B9F5E
monochromatic
#3C113F #6A1E6F #982B9F #C23DCA #D16DD7
Accessibility & contrast
On white
6.60
#982B9F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#982B9F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #982B9F
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982B9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982B9F | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0754A2
Deuteranopia (green-blind)
#44619C
Tritanopia (blue-blind)
#9C3F63
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #982b9f; /* rgb */ color: rgb(152, 43, 159); /* oklch */ color: oklch(50.3% 0.195 325.4);
Tailwind
colors: {
custom: {
50: '#ba70bc',
500: '#982b9f',
950: '#000000',
},
}SCSS
$custom: #982b9f; $custom-light: #ba70bc; $custom-dark: #000000;
JSON
{
"hex": "#982b9f",
"rgb": {
"r": 152,
"g": 43,
"b": 159
},
"hsl": {
"h": 296.379,
"s": 57.426,
"l": 39.608
},
"oklch": {
"l": 0.50341,
"c": 0.19533,
"h": 325.4
},
"luminance": 0.10906
}Semantic roles & 50–950 ramp
primary
#982B9F
secondary
#6DBE67
accent
#E14750
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81