#983CB7#983CB7
#983CB7 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.5% C 0.196 H 316.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #983CB7 |
|---|---|
| RGB | rgb(152, 60, 183) |
| HSL | hsl(285, 51%, 48%) |
| HSV | hsv(285, 67%, 72%) |
| CMYK | cmyk(16.9%, 67.2%, 0%, 28.2%) |
| CIE-LAB | lab(43.25, 56.68, -48.07) |
| CIE-LCH | lch(43.25, 74.32, 319.70°) |
| OKLab | oklab(53.55% 0.1418 -0.135) |
| OKLCH | oklch(53.55% 0.196 316.4) |
| XYZ | xyz(23.1107, 13.3269, 46.1455) |
| Luminance | 0.1333 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.05
Darkorchid
#9932CC
ΔE00 3.51
Barney
#AC1DB8
ΔE00 4.27
Medium Purple
#9E43A2
ΔE00 4.90
Ugly Purple
#A442A0
ΔE00 6.05
Vibrant Purple
#AD03DE
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#983CB7 #5BB73C
analogous
#5A3CB7 #983CB7 #B73C98
triadic
#983CB7 #B7983C #3CB798
tetradic
#983CB7 #B75A3C #5BB73C #3C98B7
square
#983CB7 #B75A3C #5BB73C #3C98B7
split-complementary
#983CB7 #98B73C #3CB75A
monochromatic
#4B1E5B #722D89 #983CB7 #B264CC #C992DB
Accessibility & contrast
On white
5.73
#983CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#983CB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #983CB7
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##983CB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##983CB7 | 1.00 | 5.73 | 3.67 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BB
Deuteranopia (green-blind)
#3D69B4
Tritanopia (blue-blind)
#965375
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #983cb7; /* rgb */ color: rgb(152, 60, 183); /* oklch */ color: oklch(53.5% 0.196 316.4);
Tailwind
colors: {
custom: {
50: '#ba79cd',
500: '#983cb7',
950: '#000000',
},
}SCSS
$custom: #983cb7; $custom-light: #ba79cd; $custom-dark: #000000;
JSON
{
"hex": "#983cb7",
"rgb": {
"r": 152,
"g": 60,
"b": 183
},
"hsl": {
"h": 284.878,
"s": 50.617,
"l": 47.647
},
"oklch": {
"l": 0.53548,
"c": 0.19576,
"h": 316.4
},
"luminance": 0.13326
}Semantic roles & 50–950 ramp
primary
#983CB7
secondary
#98C688
accent
#DA4E71
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120913
muted
#817B82