#984FCB#984FCB
#984FCB is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.2% C 0.190 H 308.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #984FCB |
|---|---|
| RGB | rgb(152, 79, 203) |
| HSL | hsl(275, 54%, 55%) |
| HSV | hsv(275, 61%, 80%) |
| CMYK | cmyk(25.1%, 61.1%, 0%, 20.4%) |
| CIE-LAB | lab(47.73, 52.05, -52.52) |
| CIE-LCH | lch(47.73, 73.95, 314.74°) |
| OKLab | oklab(57.17% 0.1187 -0.1481) |
| OKLCH | oklch(57.17% 0.19 308.7) |
| XYZ | xyz(26.5222, 16.5796, 58.2913) |
| Luminance | 0.1658 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.66
Amethyst
#9B5FC0
ΔE00 4.77
Deep Lavender
#8D5EB7
ΔE00 5.21
Darkorchid
#9932CC
ΔE00 5.43
Purply
#983FB2
ΔE00 5.55
Purpley
#8756E4
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984FCB #82CB4F
analogous
#5A4FCB #984FCB #CB4FC0
triadic
#984FCB #CB984F #4FCB98
tetradic
#984FCB #CB5A4F #82CB4F #4FC0CB
square
#984FCB #CB5A4F #82CB4F #4FC0CB
split-complementary
#984FCB #C0CB4F #4FCB5A
monochromatic
#58247B #7932AA #984FCB #B47ED9 #CFADE7
Accessibility & contrast
On white
4.87
#984FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#984FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984FCB
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984FCB | 1.00 | 4.87 | 4.32 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#166ECF
Deuteranopia (green-blind)
#3D72C8
Tritanopia (blue-blind)
#916786
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #984fcb; /* rgb */ color: rgb(152, 79, 203); /* oklch */ color: oklch(57.2% 0.190 308.7);
Tailwind
colors: {
custom: {
50: '#ba84db',
500: '#984fcb',
950: '#000000',
},
}SCSS
$custom: #984fcb; $custom-light: #ba84db; $custom-dark: #000000;
JSON
{
"hex": "#984fcb",
"rgb": {
"r": 152,
"g": 79,
"b": 203
},
"hsl": {
"h": 275.323,
"s": 54.386,
"l": 55.294
},
"oklch": {
"l": 0.57174,
"c": 0.18985,
"h": 308.7
},
"luminance": 0.16579
}Semantic roles & 50–950 ramp
primary
#984FCB
secondary
#B6D5A1
accent
#DE4A87
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83