#984FCF#984FCF
#984FCF is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.4% C 0.194 H 307.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #984FCF |
|---|---|
| RGB | rgb(152, 79, 207) |
| HSL | hsl(274, 57%, 56%) |
| HSV | hsv(274, 62%, 81%) |
| CMYK | cmyk(26.6%, 61.8%, 0%, 18.8%) |
| CIE-LAB | lab(47.97, 52.96, -54.43) |
| CIE-LCH | lch(47.97, 75.94, 314.22°) |
| OKLab | oklab(57.43% 0.1186 -0.1537) |
| OKLCH | oklch(57.43% 0.194 307.7) |
| XYZ | xyz(27.0050, 16.7727, 60.8342) |
| Luminance | 0.1677 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.17
Amethyst
#9B5FC0
ΔE00 5.06
Purpley
#8756E4
ΔE00 5.13
Darkorchid
#9932CC
ΔE00 5.51
Deep Lavender
#8D5EB7
ΔE00 5.57
Purply
#983FB2
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984FCF #86CF4F
analogous
#584FCF #984FCF #CF4FC6
triadic
#984FCF #CF984F #4FCF98
tetradic
#984FCF #CF584F #86CF4F #4FC6CF
square
#984FCF #CF584F #86CF4F #4FC6CF
split-complementary
#984FCF #C6CF4F #4FCF58
monochromatic
#582381 #7930B1 #984FCF #B47FDC #D0AFE9
Accessibility & contrast
On white
4.82
#984FCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#984FCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984FCF
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984FCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984FCF | 1.00 | 4.82 | 4.35 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#086FD3
Deuteranopia (green-blind)
#3973CC
Tritanopia (blue-blind)
#8F6988
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #984fcf; /* rgb */ color: rgb(152, 79, 207); /* oklch */ color: oklch(57.4% 0.194 307.7);
Tailwind
colors: {
custom: {
50: '#ba84de',
500: '#984fcf',
950: '#000000',
},
}SCSS
$custom: #984fcf; $custom-light: #ba84de; $custom-dark: #000000;
JSON
{
"hex": "#984fcf",
"rgb": {
"r": 152,
"g": 79,
"b": 207
},
"hsl": {
"h": 274.219,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.57432,
"c": 0.19416,
"h": 307.7
},
"luminance": 0.16772
}Semantic roles & 50–950 ramp
primary
#984FCF
secondary
#B9D7A2
accent
#E04789
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83