#862EAA#862EAA
#862EAA is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.194 H 314.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #862EAA |
|---|---|
| RGB | rgb(134, 46, 170) |
| HSL | hsl(283, 57%, 42%) |
| HSV | hsv(283, 73%, 67%) |
| CMYK | cmyk(21.2%, 72.9%, 0%, 33.3%) |
| CIE-LAB | lab(37.71, 55.97, -49.42) |
| CIE-LCH | lch(37.71, 74.66, 318.55°) |
| OKLab | oklab(48.78% 0.135 -0.1394) |
| OKLCH | oklch(48.78% 0.194 314.1) |
| XYZ | xyz(18.0630, 9.9252, 38.9867) |
| Luminance | 0.0993 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.63
Purply
#983FB2
ΔE00 5.31
Darkorchid
#9932CC
ΔE00 5.93
Rebeccapurple
#663399
ΔE00 6.09
Darkviolet
#9400D3
ΔE00 6.13
Barney
#AC1DB8
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862EAA #52AA2E
analogous
#482EAA #862EAA #AA2E90
triadic
#862EAA #AA862E #2EAA86
tetradic
#862EAA #AA482E #52AA2E #2E90AA
square
#862EAA #AA482E #52AA2E #2E90AA
split-complementary
#862EAA #90AA2E #2EAA48
monochromatic
#3A144A #60217A #862EAA #A748CD #BE78DA
Accessibility & contrast
On white
7.04
#862EAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#862EAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862EAA
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862EAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862EAA | 1.00 | 7.04 | 2.99 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#265BA7
Tritanopia (blue-blind)
#834969
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #862eaa; /* rgb */ color: rgb(134, 46, 170); /* oklch */ color: oklch(48.8% 0.194 314.1);
Tailwind
colors: {
custom: {
50: '#ad6fc4',
500: '#862eaa',
950: '#000000',
},
}SCSS
$custom: #862eaa; $custom-light: #ad6fc4; $custom-dark: #000000;
JSON
{
"hex": "#862eaa",
"rgb": {
"r": 134,
"g": 46,
"b": 170
},
"hsl": {
"h": 282.581,
"s": 57.407,
"l": 42.353
},
"oklch": {
"l": 0.48779,
"c": 0.19408,
"h": 314.1
},
"luminance": 0.09925
}Semantic roles & 50–950 ramp
primary
#862EAA
secondary
#89C371
accent
#E14774
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82