#983BB7#983BB7
#983BB7 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.4% C 0.197 H 316.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #983BB7 |
|---|---|
| RGB | rgb(152, 59, 183) |
| HSL | hsl(285, 51%, 47%) |
| HSV | hsv(285, 68%, 72%) |
| CMYK | cmyk(16.9%, 67.8%, 0%, 28.2%) |
| CIE-LAB | lab(43.10, 57.11, -48.32) |
| CIE-LCH | lch(43.10, 74.81, 319.77°) |
| OKLab | oklab(53.44% 0.1429 -0.1357) |
| OKLCH | oklch(53.44% 0.197 316.5) |
| XYZ | xyz(23.0588, 13.2231, 46.1282) |
| Luminance | 0.1322 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.16
Darkorchid
#9932CC
ΔE00 3.45
Barney
#AC1DB8
ΔE00 4.17
Medium Purple
#9E43A2
ΔE00 4.98
Ugly Purple
#A442A0
ΔE00 6.12
Vibrant Purple
#AD03DE
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#983BB7 #5AB73B
analogous
#5A3BB7 #983BB7 #B73B98
triadic
#983BB7 #B7983B #3BB798
tetradic
#983BB7 #B75A3B #5AB73B #3B98B7
square
#983BB7 #B75A3B #5AB73B #3B98B7
split-complementary
#983BB7 #98B73B #3BB75A
monochromatic
#4B1D5A #722C89 #983BB7 #B263CD #C991DC
Accessibility & contrast
On white
5.76
#983BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#983BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #983BB7
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##983BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##983BB7 | 1.00 | 5.76 | 3.64 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#3C68B4
Tritanopia (blue-blind)
#965374
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #983bb7; /* rgb */ color: rgb(152, 59, 183); /* oklch */ color: oklch(53.4% 0.197 316.5);
Tailwind
colors: {
custom: {
50: '#ba78cd',
500: '#983bb7',
950: '#000000',
},
}SCSS
$custom: #983bb7; $custom-light: #ba78cd; $custom-dark: #000000;
JSON
{
"hex": "#983bb7",
"rgb": {
"r": 152,
"g": 59,
"b": 183
},
"hsl": {
"h": 285,
"s": 51.24,
"l": 47.451
},
"oklch": {
"l": 0.53438,
"c": 0.19706,
"h": 316.5
},
"luminance": 0.13222
}Semantic roles & 50–950 ramp
primary
#983BB7
secondary
#97C687
accent
#DB4D70
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120913
muted
#817B82