#983EBA#983EBA
#983EBA is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.0% C 0.196 H 315.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #983EBA |
|---|---|
| RGB | rgb(152, 62, 186) |
| HSL | hsl(284, 50%, 49%) |
| HSV | hsv(284, 67%, 73%) |
| CMYK | cmyk(18.3%, 66.7%, 0%, 27.1%) |
| CIE-LAB | lab(43.75, 56.42, -49.03) |
| CIE-LCH | lch(43.75, 74.75, 319.01°) |
| OKLab | oklab(53.97% 0.1394 -0.1378) |
| OKLCH | oklch(53.97% 0.196 315.3) |
| XYZ | xyz(23.5330, 13.6667, 47.8431) |
| Luminance | 0.1367 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.40
Darkorchid
#9932CC
ΔE00 3.25
Barney
#AC1DB8
ΔE00 4.63
Medium Purple
#9E43A2
ΔE00 5.23
Vibrant Purple
#AD03DE
ΔE00 6.23
Ugly Purple
#A442A0
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#983EBA #60BA3E
analogous
#5A3EBA #983EBA #BA3E9E
triadic
#983EBA #BA983E #3EBA98
tetradic
#983EBA #BA5A3E #60BA3E #3E9EBA
square
#983EBA #BA5A3E #60BA3E #3E9EBA
split-complementary
#983EBA #9EBA3E #3EBA5A
monochromatic
#4D1F5E #722F8C #983EBA #B168CD #C996DC
Accessibility & contrast
On white
5.63
#983EBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#983EBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #983EBA
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##983EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##983EBA | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#3C6AB7
Tritanopia (blue-blind)
#955677
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #983eba; /* rgb */ color: rgb(152, 62, 186); /* oklch */ color: oklch(54.0% 0.196 315.3);
Tailwind
colors: {
custom: {
50: '#ba7acf',
500: '#983eba',
950: '#000000',
},
}SCSS
$custom: #983eba; $custom-light: #ba7acf; $custom-dark: #000000;
JSON
{
"hex": "#983eba",
"rgb": {
"r": 152,
"g": 62,
"b": 186
},
"hsl": {
"h": 283.548,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.53967,
"c": 0.196,
"h": 315.3
},
"luminance": 0.13666
}Semantic roles & 50–950 ramp
primary
#983EBA
secondary
#9CC88C
accent
#DA4E74
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82