#984FC2#984FC2
#984FC2 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.6% C 0.180 H 311.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #984FC2 |
|---|---|
| RGB | rgb(152, 79, 194) |
| HSL | hsl(278, 49%, 54%) |
| HSV | hsv(278, 59%, 76%) |
| CMYK | cmyk(21.6%, 59.3%, 0%, 23.9%) |
| CIE-LAB | lab(47.19, 50.04, -48.19) |
| CIE-LCH | lch(47.19, 69.47, 316.08°) |
| OKLab | oklab(56.61% 0.1188 -0.1354) |
| OKLCH | oklch(56.61% 0.18 311.3) |
| XYZ | xyz(25.4807, 16.1630, 52.8060) |
| Luminance | 0.1616 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.37
Purply
#983FB2
ΔE00 4.47
Deep Lavender
#8D5EB7
ΔE00 4.60
Darkorchid
#9932CC
ΔE00 5.57
Lightish Purple
#A552E6
ΔE00 5.91
Medium Purple
#9E43A2
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984FC2 #79C24F
analogous
#5E4FC2 #984FC2 #C24FB2
triadic
#984FC2 #C2984F #4FC298
tetradic
#984FC2 #C25E4F #79C24F #4FB2C2
square
#984FC2 #C25E4F #79C24F #4FB2C2
split-complementary
#984FC2 #B2C24F #4FC25E
monochromatic
#552770 #78379D #984FC2 #B37CD2 #CDAAE2
Accessibility & contrast
On white
4.96
#984FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#984FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984FC2
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984FC2 | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#266CC6
Deuteranopia (green-blind)
#4571BF
Tritanopia (blue-blind)
#936481
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #984fc2; /* rgb */ color: rgb(152, 79, 194); /* oklch */ color: oklch(56.6% 0.180 311.3);
Tailwind
colors: {
custom: {
50: '#b984d5',
500: '#984fc2',
950: '#000000',
},
}SCSS
$custom: #984fc2; $custom-light: #b984d5; $custom-dark: #000000;
JSON
{
"hex": "#984fc2",
"rgb": {
"r": 152,
"g": 79,
"b": 194
},
"hsl": {
"h": 278.087,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.56609,
"c": 0.18015,
"h": 311.3
},
"luminance": 0.16162
}Semantic roles & 50–950 ramp
primary
#984FC2
secondary
#B0CF9E
accent
#D85082
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83