#984FCE#984FCE
#984FCE is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.4% C 0.193 H 307.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #984FCE |
|---|---|
| RGB | rgb(152, 79, 206) |
| HSL | hsl(274, 56%, 56%) |
| HSV | hsv(274, 62%, 81%) |
| CMYK | cmyk(26.2%, 61.7%, 0%, 19.2%) |
| CIE-LAB | lab(47.91, 52.73, -53.95) |
| CIE-LCH | lch(47.91, 75.44, 314.34°) |
| OKLab | oklab(57.37% 0.1187 -0.1523) |
| OKLCH | oklch(57.37% 0.193 307.9) |
| XYZ | xyz(26.8832, 16.7240, 60.1924) |
| Luminance | 0.1672 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.28
Amethyst
#9B5FC0
ΔE00 4.98
Purpley
#8756E4
ΔE00 5.26
Deep Lavender
#8D5EB7
ΔE00 5.47
Darkorchid
#9932CC
ΔE00 5.48
Purply
#983FB2
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984FCE #85CE4F
analogous
#584FCE #984FCE #CE4FC4
triadic
#984FCE #CE984F #4FCE98
tetradic
#984FCE #CE584F #85CE4F #4FC4CE
square
#984FCE #CE584F #85CE4F #4FC4CE
split-complementary
#984FCE #C4CE4F #4FCE58
monochromatic
#58237F #7931AF #984FCE #B47FDB #D0AFE9
Accessibility & contrast
On white
4.83
#984FCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#984FCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984FCE
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984FCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984FCE | 1.00 | 4.83 | 4.34 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C6FD2
Deuteranopia (green-blind)
#3A72CB
Tritanopia (blue-blind)
#906887
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #984fce; /* rgb */ color: rgb(152, 79, 206); /* oklch */ color: oklch(57.4% 0.193 307.9);
Tailwind
colors: {
custom: {
50: '#ba84de',
500: '#984fce',
950: '#000000',
},
}SCSS
$custom: #984fce; $custom-light: #ba84de; $custom-dark: #000000;
JSON
{
"hex": "#984fce",
"rgb": {
"r": 152,
"g": 79,
"b": 206
},
"hsl": {
"h": 274.488,
"s": 56.444,
"l": 55.882
},
"oklch": {
"l": 0.57367,
"c": 0.19308,
"h": 307.9
},
"luminance": 0.16724
}Semantic roles & 50–950 ramp
primary
#984FCE
secondary
#B8D7A2
accent
#E04889
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83