#983BB5#983BB5
#983BB5 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.3% C 0.195 H 317.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #983BB5 |
|---|---|
| RGB | rgb(152, 59, 181) |
| HSL | hsl(286, 51%, 47%) |
| HSV | hsv(286, 67%, 71%) |
| CMYK | cmyk(16%, 67.4%, 0%, 29%) |
| CIE-LAB | lab(42.97, 56.71, -47.34) |
| CIE-LCH | lch(42.97, 73.87, 320.15°) |
| OKLab | oklab(53.31% 0.143 -0.1328) |
| OKLCH | oklch(53.31% 0.195 317.1) |
| XYZ | xyz(22.8521, 13.1405, 45.0397) |
| Luminance | 0.1314 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 0.93
Darkorchid
#9932CC
ΔE00 3.76
Barney
#AC1DB8
ΔE00 4.11
Medium Purple
#9E43A2
ΔE00 4.69
Ugly Purple
#A442A0
ΔE00 5.84
Vibrant Purple
#AD03DE
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#983BB5 #58B53B
analogous
#5B3BB5 #983BB5 #B53B95
triadic
#983BB5 #B5983B #3BB598
tetradic
#983BB5 #B55B3B #58B53B #3B95B5
square
#983BB5 #B55B3B #58B53B #3B95B5
split-complementary
#983BB5 #95B53B #3BB55B
monochromatic
#4A1D59 #712C87 #983BB5 #B262CC #C990DB
Accessibility & contrast
On white
5.79
#983BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#983BB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #983BB5
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##983BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##983BB5 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060B9
Deuteranopia (green-blind)
#3E68B2
Tritanopia (blue-blind)
#975273
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #983bb5; /* rgb */ color: rgb(152, 59, 181); /* oklch */ color: oklch(53.3% 0.195 317.1);
Tailwind
colors: {
custom: {
50: '#ba78cc',
500: '#983bb5',
950: '#000000',
},
}SCSS
$custom: #983bb5; $custom-light: #ba78cc; $custom-dark: #000000;
JSON
{
"hex": "#983bb5",
"rgb": {
"r": 152,
"g": 59,
"b": 181
},
"hsl": {
"h": 285.738,
"s": 50.833,
"l": 47.059
},
"oklch": {
"l": 0.5331,
"c": 0.19517,
"h": 317.1
},
"luminance": 0.1314
}Semantic roles & 50–950 ramp
primary
#983BB5
secondary
#95C686
accent
#DA4D6F
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120913
muted
#817B82