#984BCF#984BCF
#984BCF is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.9% C 0.200 H 308.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #984BCF |
|---|---|
| RGB | rgb(152, 75, 207) |
| HSL | hsl(275, 58%, 55%) |
| HSV | hsv(275, 64%, 81%) |
| CMYK | cmyk(26.6%, 63.8%, 0%, 18.8%) |
| CIE-LAB | lab(47.25, 54.92, -55.58) |
| CIE-LCH | lch(47.25, 78.14, 314.66°) |
| OKLab | oklab(56.91% 0.1233 -0.1571) |
| OKLCH | oklch(56.91% 0.2 308.1) |
| XYZ | xyz(26.7252, 16.2129, 60.7409) |
| Luminance | 0.1621 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.61
Lightish Purple
#A552E6
ΔE00 4.63
Purpley
#8756E4
ΔE00 5.44
Purply
#983FB2
ΔE00 5.56
Amethyst
#9B5FC0
ΔE00 5.81
Deep Lavender
#8D5EB7
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984BCF #82CF4B
analogous
#564BCF #984BCF #CF4BC4
triadic
#984BCF #CF984B #4BCF98
tetradic
#984BCF #CF564B #82CF4B #4BC4CF
square
#984BCF #CF564B #82CF4B #4BC4CF
split-complementary
#984BCF #C4CF4B #4BCF56
monochromatic
#57227E #792EAE #984BCF #B47BDC #CFACE9
Accessibility & contrast
On white
4.95
#984BCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#984BCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984BCF
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984BCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984BCF | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#3371CC
Tritanopia (blue-blind)
#906686
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #984bcf; /* rgb */ color: rgb(152, 75, 207); /* oklch */ color: oklch(56.9% 0.200 308.1);
Tailwind
colors: {
custom: {
50: '#ba82de',
500: '#984bcf',
950: '#000000',
},
}SCSS
$custom: #984bcf; $custom-light: #ba82de; $custom-dark: #000000;
JSON
{
"hex": "#984bcf",
"rgb": {
"r": 152,
"g": 75,
"b": 207
},
"hsl": {
"h": 275,
"s": 57.895,
"l": 55.294
},
"oklch": {
"l": 0.56911,
"c": 0.19972,
"h": 308.1
},
"luminance": 0.16213
}Semantic roles & 50–950 ramp
primary
#984BCF
secondary
#B6D69F
accent
#E14787
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83