#862FB3#862FB3
#862FB3 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.5% C 0.201 H 311.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #862FB3 |
|---|---|
| RGB | rgb(134, 47, 179) |
| HSL | hsl(280, 58%, 44%) |
| HSV | hsv(280, 74%, 70%) |
| CMYK | cmyk(25.1%, 73.7%, 0%, 29.8%) |
| CIE-LAB | lab(38.47, 57.46, -53.53) |
| CIE-LCH | lch(38.47, 78.54, 317.03°) |
| OKLab | oklab(49.52% 0.1328 -0.1515) |
| OKLCH | oklch(49.52% 0.201 311.2) |
| XYZ | xyz(18.9832, 10.3565, 43.6381) |
| Luminance | 0.1036 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.70
Darkorchid
#9932CC
ΔE00 4.86
Darkviolet
#9400D3
ΔE00 5.04
Purply
#983FB2
ΔE00 5.29
Rebeccapurple
#663399
ΔE00 6.44
Blueviolet
#8A2BE2
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862FB3 #5CB32F
analogous
#442FB3 #862FB3 #B32F9E
triadic
#862FB3 #B3862F #2FB386
tetradic
#862FB3 #B3442F #5CB32F #2F9EB3
square
#862FB3 #B3442F #5CB32F #2F9EB3
split-complementary
#862FB3 #9EB32F #2FB344
monochromatic
#3D1652 #622283 #862FB3 #A44FD1 #BD7FDD
Accessibility & contrast
On white
6.84
#862FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#862FB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #862FB3
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862FB3 | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#185CB0
Tritanopia (blue-blind)
#804D6F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #862fb3; /* rgb */ color: rgb(134, 47, 179); /* oklch */ color: oklch(49.5% 0.201 311.2);
Tailwind
colors: {
custom: {
50: '#ae70ca',
500: '#862fb3',
950: '#000000',
},
}SCSS
$custom: #862fb3; $custom-light: #ae70ca; $custom-dark: #000000;
JSON
{
"hex": "#862fb3",
"rgb": {
"r": 134,
"g": 47,
"b": 179
},
"hsl": {
"h": 279.545,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.49522,
"c": 0.20145,
"h": 311.2
},
"luminance": 0.10356
}Semantic roles & 50–950 ramp
primary
#862FB3
secondary
#92C678
accent
#E2467B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82