#984CC2#984CC2
#984CC2 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.2% C 0.185 H 311.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #984CC2 |
|---|---|
| RGB | rgb(152, 76, 194) |
| HSL | hsl(279, 49%, 53%) |
| HSV | hsv(279, 61%, 76%) |
| CMYK | cmyk(21.6%, 60.8%, 0%, 23.9%) |
| CIE-LAB | lab(46.63, 51.54, -49.08) |
| CIE-LCH | lch(46.63, 71.17, 316.40°) |
| OKLab | oklab(56.21% 0.1225 -0.138) |
| OKLCH | oklch(56.21% 0.185 311.6) |
| XYZ | xyz(25.2692, 15.7399, 52.7354) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.94
Darkorchid
#9932CC
ΔE00 4.90
Amethyst
#9B5FC0
ΔE00 5.06
Deep Lavender
#8D5EB7
ΔE00 5.18
Lightish Purple
#A552E6
ΔE00 6.15
Medium Purple
#9E43A2
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984CC2 #76C24C
analogous
#5D4CC2 #984CC2 #C24CB1
triadic
#984CC2 #C2984C #4CC298
tetradic
#984CC2 #C25D4C #76C24C #4CB1C2
square
#984CC2 #C25D4C #76C24C #4CB1C2
split-complementary
#984CC2 #B1C24C #4CC25D
monochromatic
#54266E #77359C #984CC2 #B27AD2 #CDA7E1
Accessibility & contrast
On white
5.06
#984CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#984CC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984CC2
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984CC2 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F6BC6
Deuteranopia (green-blind)
#4270BF
Tritanopia (blue-blind)
#936280
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #984cc2; /* rgb */ color: rgb(152, 76, 194); /* oklch */ color: oklch(56.2% 0.185 311.6);
Tailwind
colors: {
custom: {
50: '#b982d5',
500: '#984cc2',
950: '#000000',
},
}SCSS
$custom: #984cc2; $custom-light: #b982d5; $custom-dark: #000000;
JSON
{
"hex": "#984cc2",
"rgb": {
"r": 152,
"g": 76,
"b": 194
},
"hsl": {
"h": 278.644,
"s": 49.167,
"l": 52.941
},
"oklch": {
"l": 0.56205,
"c": 0.18457,
"h": 311.6
},
"luminance": 0.15739
}Semantic roles & 50–950 ramp
primary
#984CC2
secondary
#AECE9B
accent
#D94F80
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B14
muted
#817C83