#984BB7#984BB7
#984BB7 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.4% C 0.175 H 315.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #984BB7 |
|---|---|
| RGB | rgb(152, 75, 183) |
| HSL | hsl(283, 43%, 51%) |
| HSV | hsv(283, 59%, 72%) |
| CMYK | cmyk(16.9%, 59%, 0%, 28.2%) |
| CIE-LAB | lab(45.81, 49.66, -43.99) |
| CIE-LCH | lch(45.81, 66.34, 318.47°) |
| OKLab | oklab(55.4% 0.1237 -0.1231) |
| OKLCH | oklch(55.4% 0.175 315.1) |
| XYZ | xyz(24.0109, 15.1272, 46.4456) |
| Luminance | 0.1513 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.71
Medium Purple
#9E43A2
ΔE00 4.70
Deep Lavender
#8D5EB7
ΔE00 5.30
Amethyst
#9B5FC0
ΔE00 5.44
Darkorchid
#9932CC
ΔE00 5.56
Ugly Purple
#A442A0
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984BB7 #6AB74B
analogous
#624BB7 #984BB7 #B74BA0
triadic
#984BB7 #B7984B #4BB798
tetradic
#984BB7 #B7624B #6AB74B #4BA0B7
square
#984BB7 #B7624B #6AB74B #4BA0B7
split-complementary
#984BB7 #A0B74B #4BB762
monochromatic
#502761 #74388D #984BB7 #B177C8 #CAA2DA
Accessibility & contrast
On white
5.22
#984BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#984BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984BB7
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984BB7 | 1.00 | 5.22 | 4.03 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C68BA
Deuteranopia (green-blind)
#4A6FB4
Tritanopia (blue-blind)
#965E7A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #984bb7; /* rgb */ color: rgb(152, 75, 183); /* oklch */ color: oklch(55.4% 0.175 315.1);
Tailwind
colors: {
custom: {
50: '#b981cd',
500: '#984bb7',
950: '#000000',
},
}SCSS
$custom: #984bb7; $custom-light: #b981cd; $custom-dark: #000000;
JSON
{
"hex": "#984bb7",
"rgb": {
"r": 152,
"g": 75,
"b": 183
},
"hsl": {
"h": 282.778,
"s": 42.857,
"l": 50.588
},
"oklch": {
"l": 0.55399,
"c": 0.17451,
"h": 315.1
},
"luminance": 0.15126
}Semantic roles & 50–950 ramp
primary
#984BB7
secondary
#A5C797
accent
#D35579
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B13
muted
#817C82