#862EAE#862EAE
#862EAE is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.198 H 312.8°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #862EAE |
|---|---|
| RGB | rgb(134, 46, 174) |
| HSL | hsl(281, 58%, 43%) |
| HSV | hsv(281, 74%, 68%) |
| CMYK | cmyk(23%, 73.6%, 0%, 31.8%) |
| CIE-LAB | lab(37.98, 56.80, -51.36) |
| CIE-LCH | lch(37.98, 76.58, 317.88°) |
| OKLab | oklab(49.06% 0.1345 -0.1451) |
| OKLCH | oklch(49.06% 0.198 312.8) |
| XYZ | xyz(18.4471, 10.0789, 41.0099) |
| Luminance | 0.1008 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.02
Purply
#983FB2
ΔE00 5.31
Darkorchid
#9932CC
ΔE00 5.46
Darkviolet
#9400D3
ΔE00 5.59
Rebeccapurple
#663399
ΔE00 6.20
Barney
#AC1DB8
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862EAE #56AE2E
analogous
#462EAE #862EAE #AE2E96
triadic
#862EAE #AE862E #2EAE86
tetradic
#862EAE #AE462E #56AE2E #2E96AE
square
#862EAE #AE462E #56AE2E #2E96AE
split-complementary
#862EAE #96AE2E #2EAE46
monochromatic
#3B144D #61217E #862EAE #A64ACF #BD7ADC
Accessibility & contrast
On white
6.96
#862EAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#862EAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #862EAE
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862EAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862EAE | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#205BAB
Tritanopia (blue-blind)
#824A6C
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #862eae; /* rgb */ color: rgb(134, 46, 174); /* oklch */ color: oklch(49.1% 0.198 312.8);
Tailwind
colors: {
custom: {
50: '#ad6fc7',
500: '#862eae',
950: '#000000',
},
}SCSS
$custom: #862eae; $custom-light: #ad6fc7; $custom-dark: #000000;
JSON
{
"hex": "#862eae",
"rgb": {
"r": 134,
"g": 46,
"b": 174
},
"hsl": {
"h": 281.25,
"s": 58.182,
"l": 43.137
},
"oklch": {
"l": 0.49062,
"c": 0.19786,
"h": 312.8
},
"luminance": 0.10078
}Semantic roles & 50–950 ramp
primary
#862EAE
secondary
#8DC474
accent
#E14677
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82