#861FC2#861FC2
#861FC2 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.4% C 0.230 H 308.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #861FC2 |
|---|---|
| RGB | rgb(134, 31, 194) |
| HSL | hsl(278, 72%, 44%) |
| HSV | hsv(278, 84%, 76%) |
| CMYK | cmyk(30.9%, 84%, 0%, 23.9%) |
| CIE-LAB | lab(37.74, 66.03, -63.56) |
| CIE-LCH | lch(37.74, 91.66, 316.09°) |
| OKLab | oklab(49.36% 0.1421 -0.1809) |
| OKLCH | oklch(49.36% 0.23 308.2) |
| XYZ | xyz(20.0570, 9.9437, 51.8912) |
| Luminance | 0.0994 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 2.85
Blueviolet
#8A2BE2
ΔE00 5.04
Darkorchid
#9932CC
ΔE00 5.12
Purple (survey)
#7E1E9C
ΔE00 5.79
Violet (survey)
#9A0EEA
ΔE00 5.86
Purple Blue
#5D21D0
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#861FC2 #5BC21F
analogous
#351FC2 #861FC2 #C21FAD
triadic
#861FC2 #C2861F #1FC286
tetradic
#861FC2 #C2351F #5BC21F #1FADC2
square
#861FC2 #C2351F #5BC21F #1FADC2
split-complementary
#861FC2 #ADC21F #1FC235
monochromatic
#3D0E58 #62178D #861FC2 #A43EE0 #BD73E9
Accessibility & contrast
On white
7.03
#861FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#861FC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #861FC2
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##861FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##861FC2 | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055C6
Deuteranopia (green-blind)
#005ABF
Tritanopia (blue-blind)
#7C4D74
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #861fc2; /* rgb */ color: rgb(134, 31, 194); /* oklch */ color: oklch(49.4% 0.230 308.2);
Tailwind
colors: {
custom: {
50: '#af6ad5',
500: '#861fc2',
950: '#000000',
},
}SCSS
$custom: #861fc2; $custom-light: #af6ad5; $custom-dark: #000000;
JSON
{
"hex": "#861fc2",
"rgb": {
"r": 134,
"g": 31,
"b": 194
},
"hsl": {
"h": 277.914,
"s": 72.444,
"l": 44.118
},
"oklch": {
"l": 0.49364,
"c": 0.23001,
"h": 308.2
},
"luminance": 0.09943
}Semantic roles & 50–950 ramp
primary
#861FC2
secondary
#91CF6D
accent
#EF397C
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83