#862FAE#862FAE
#862FAE is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.197 H 312.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #862FAE |
|---|---|
| RGB | rgb(134, 47, 174) |
| HSL | hsl(281, 57%, 43%) |
| HSV | hsv(281, 73%, 68%) |
| CMYK | cmyk(23%, 73%, 0%, 31.8%) |
| CIE-LAB | lab(38.12, 56.40, -51.13) |
| CIE-LCH | lch(38.12, 76.13, 317.81°) |
| OKLab | oklab(49.16% 0.1335 -0.1444) |
| OKLCH | oklch(49.16% 0.197 312.7) |
| XYZ | xyz(18.4866, 10.1579, 41.0230) |
| Luminance | 0.1016 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.14
Purply
#983FB2
ΔE00 5.18
Darkorchid
#9932CC
ΔE00 5.39
Darkviolet
#9400D3
ΔE00 5.65
Rebeccapurple
#663399
ΔE00 6.21
Barney
#AC1DB8
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862FAE #57AE2F
analogous
#462FAE #862FAE #AE2F96
triadic
#862FAE #AE862F #2FAE86
tetradic
#862FAE #AE462F #57AE2F #2F96AE
square
#862FAE #AE462F #57AE2F #2F96AE
split-complementary
#862FAE #96AE2F #2FAE46
monochromatic
#3C154E #61227E #862FAE #A54CCF #BD7CDC
Accessibility & contrast
On white
6.93
#862FAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#862FAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #862FAE
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862FAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862FAE | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#215CAB
Tritanopia (blue-blind)
#824B6C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #862fae; /* rgb */ color: rgb(134, 47, 174); /* oklch */ color: oklch(49.2% 0.197 312.7);
Tailwind
colors: {
custom: {
50: '#ad70c7',
500: '#862fae',
950: '#000000',
},
}SCSS
$custom: #862fae; $custom-light: #ad70c7; $custom-dark: #000000;
JSON
{
"hex": "#862fae",
"rgb": {
"r": 134,
"g": 47,
"b": 174
},
"hsl": {
"h": 281.102,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.49162,
"c": 0.1967,
"h": 312.7
},
"luminance": 0.10157
}Semantic roles & 50–950 ramp
primary
#862FAE
secondary
#8EC475
accent
#E14777
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82