#862CAD#862CAD
#862CAD is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.199 H 313.3°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #862CAD |
|---|---|
| RGB | rgb(134, 44, 173) |
| HSL | hsl(282, 59%, 43%) |
| HSV | hsv(282, 75%, 68%) |
| CMYK | cmyk(22.5%, 74.6%, 0%, 32.2%) |
| CIE-LAB | lab(37.64, 57.37, -51.32) |
| CIE-LCH | lch(37.64, 76.98, 318.19°) |
| OKLab | oklab(48.8% 0.1366 -0.145) |
| OKLCH | oklch(48.8% 0.199 313.3) |
| XYZ | xyz(18.2737, 9.8874, 40.4729) |
| Luminance | 0.0989 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.69
Purply
#983FB2
ΔE00 5.55
Darkviolet
#9400D3
ΔE00 5.62
Darkorchid
#9932CC
ΔE00 5.70
Rebeccapurple
#663399
ΔE00 6.16
Barney
#AC1DB8
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862CAD #53AD2C
analogous
#452CAD #862CAD #AD2C94
triadic
#862CAD #AD862C #2CAD86
tetradic
#862CAD #AD452C #53AD2C #2C94AD
square
#862CAD #AD452C #53AD2C #2C94AD
split-complementary
#862CAD #94AD2C #2CAD45
monochromatic
#3A134B #60207C #862CAD #A646D0 #BE77DC
Accessibility & contrast
On white
7.05
#862CAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#862CAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862CAD
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862CAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862CAD | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B1
Deuteranopia (green-blind)
#1F5BAA
Tritanopia (blue-blind)
#82496A
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #862cad; /* rgb */ color: rgb(134, 44, 173); /* oklch */ color: oklch(48.8% 0.199 313.3);
Tailwind
colors: {
custom: {
50: '#ad6ec6',
500: '#862cad',
950: '#000000',
},
}SCSS
$custom: #862cad; $custom-light: #ad6ec6; $custom-dark: #000000;
JSON
{
"hex": "#862cad",
"rgb": {
"r": 134,
"g": 44,
"b": 173
},
"hsl": {
"h": 281.86,
"s": 59.447,
"l": 42.549
},
"oklch": {
"l": 0.48796,
"c": 0.19917,
"h": 313.3
},
"luminance": 0.09887
}Semantic roles & 50–950 ramp
primary
#862CAD
secondary
#8AC471
accent
#E34575
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82