#986CF2#986CF2
#986CF2 is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.9% C 0.193 H 295.6°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #986CF2 |
|---|---|
| RGB | rgb(152, 108, 242) |
| HSL | hsl(260, 84%, 69%) |
| HSV | hsv(260, 55%, 95%) |
| CMYK | cmyk(37.2%, 55.4%, 0%, 5.1%) |
| CIE-LAB | lab(55.90, 46.19, -61.47) |
| CIE-LCH | lch(55.90, 76.89, 306.92°) |
| OKLab | oklab(63.92% 0.0834 -0.1744) |
| OKLCH | oklch(63.92% 0.193 295.6) |
| XYZ | xyz(34.3343, 23.8107, 86.7742) |
| Luminance | 0.2381 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.61
Lighter Purple
#A55AF4
ΔE00 4.65
Light Urple
#B36FF6
ΔE00 5.03
Mediumslateblue
#7B68EE
ΔE00 5.36
Lightish Purple
#A552E6
ΔE00 6.89
Periwinkle (survey)
#8E82FE
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#986CF2 #C6F26C
analogous
#6C83F2 #986CF2 #DB6CF2
triadic
#986CF2 #F2986C #6CF298
tetradic
#986CF2 #F26C83 #C6F26C #6CF2DB
square
#986CF2 #F26C83 #C6F26C #6CF2DB
split-complementary
#986CF2 #F2DB6C #83F26C
monochromatic
#5112D1 #7134ED #986CF2 #BFA4F7 #E7DCFC
Accessibility & contrast
On white
3.64
#986CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.76
#986CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #986CF2
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##986CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##986CF2 | 1.00 | 3.64 | 5.76 | 5.76 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B87F6
Deuteranopia (green-blind)
#3A84EF
Tritanopia (blue-blind)
#8288A5
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #986cf2; /* rgb */ color: rgb(152, 108, 242); /* oklch */ color: oklch(63.9% 0.193 295.6);
Tailwind
colors: {
custom: {
50: '#bb97f7',
500: '#986cf2',
950: '#000000',
},
}SCSS
$custom: #986cf2; $custom-light: #bb97f7; $custom-dark: #000000;
JSON
{
"hex": "#986cf2",
"rgb": {
"r": 152,
"g": 108,
"b": 242
},
"hsl": {
"h": 259.701,
"s": 83.75,
"l": 68.627
},
"oklch": {
"l": 0.63915,
"c": 0.19336,
"h": 295.6
},
"luminance": 0.23811
}Semantic roles & 50–950 ramp
primary
#986CF2
secondary
#E4F1C9
accent
#E00598
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85