#984CCF#984CCF
#984CCF is a mid, vivid violet. Relative luminance 0.163; OKLCH L 57.0% C 0.198 H 308.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #984CCF |
|---|---|
| RGB | rgb(152, 76, 207) |
| HSL | hsl(275, 58%, 55%) |
| HSV | hsv(275, 63%, 81%) |
| CMYK | cmyk(26.6%, 63.3%, 0%, 18.8%) |
| CIE-LAB | lab(47.43, 54.44, -55.30) |
| CIE-LCH | lch(47.43, 77.60, 314.55°) |
| OKLab | oklab(57.04% 0.1222 -0.1563) |
| OKLCH | oklch(57.04% 0.198 308) |
| XYZ | xyz(26.7935, 16.3497, 60.7637) |
| Luminance | 0.1635 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.50
Darkorchid
#9932CC
ΔE00 4.83
Purpley
#8756E4
ΔE00 5.35
Amethyst
#9B5FC0
ΔE00 5.62
Purply
#983FB2
ΔE00 5.67
Deep Lavender
#8D5EB7
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984CCF #83CF4C
analogous
#564CCF #984CCF #CF4CC4
triadic
#984CCF #CF984C #4CCF98
tetradic
#984CCF #CF564C #83CF4C #4CC4CF
square
#984CCF #CF564C #83CF4C #4CC4CF
split-complementary
#984CCF #C4CF4C #4CCF56
monochromatic
#58227F #792FAF #984CCF #B47CDC #D0ADE9
Accessibility & contrast
On white
4.92
#984CCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#984CCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984CCF
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984CCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984CCF | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#3571CC
Tritanopia (blue-blind)
#906787
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #984ccf; /* rgb */ color: rgb(152, 76, 207); /* oklch */ color: oklch(57.0% 0.198 308.0);
Tailwind
colors: {
custom: {
50: '#ba82de',
500: '#984ccf',
950: '#000000',
},
}SCSS
$custom: #984ccf; $custom-light: #ba82de; $custom-dark: #000000;
JSON
{
"hex": "#984ccf",
"rgb": {
"r": 152,
"g": 76,
"b": 207
},
"hsl": {
"h": 274.809,
"s": 57.709,
"l": 55.49
},
"oklch": {
"l": 0.57039,
"c": 0.19835,
"h": 308
},
"luminance": 0.16349
}Semantic roles & 50–950 ramp
primary
#984CCF
secondary
#B7D7A0
accent
#E14788
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83