#862EAB#862EAB
#862EAB is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.195 H 313.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #862EAB |
|---|---|
| RGB | rgb(134, 46, 171) |
| HSL | hsl(282, 58%, 43%) |
| HSV | hsv(282, 73%, 67%) |
| CMYK | cmyk(21.6%, 73.1%, 0%, 32.9%) |
| CIE-LAB | lab(37.78, 56.17, -49.91) |
| CIE-LCH | lch(37.78, 75.14, 318.38°) |
| OKLab | oklab(48.85% 0.1349 -0.1408) |
| OKLCH | oklch(48.85% 0.195 313.8) |
| XYZ | xyz(18.1579, 9.9632, 39.4868) |
| Luminance | 0.0996 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.72
Purply
#983FB2
ΔE00 5.30
Darkorchid
#9932CC
ΔE00 5.81
Darkviolet
#9400D3
ΔE00 5.99
Rebeccapurple
#663399
ΔE00 6.11
Barney
#AC1DB8
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862EAB #53AB2E
analogous
#472EAB #862EAB #AB2E92
triadic
#862EAB #AB862E #2EAB86
tetradic
#862EAB #AB472E #53AB2E #2E92AB
square
#862EAB #AB472E #53AB2E #2E92AB
split-complementary
#862EAB #92AB2E #2EAB47
monochromatic
#3A144B #60217B #862EAB #A648CE #BE79DB
Accessibility & contrast
On white
7.02
#862EAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#862EAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862EAB
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862EAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862EAB | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#255BA8
Tritanopia (blue-blind)
#82496A
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #862eab; /* rgb */ color: rgb(134, 46, 171); /* oklch */ color: oklch(48.8% 0.195 313.8);
Tailwind
colors: {
custom: {
50: '#ad6fc5',
500: '#862eab',
950: '#000000',
},
}SCSS
$custom: #862eab; $custom-light: #ad6fc5; $custom-dark: #000000;
JSON
{
"hex": "#862eab",
"rgb": {
"r": 134,
"g": 46,
"b": 171
},
"hsl": {
"h": 282.24,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.48849,
"c": 0.19502,
"h": 313.8
},
"luminance": 0.09963
}Semantic roles & 50–950 ramp
primary
#862EAB
secondary
#8AC372
accent
#E14775
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82