#862CAC#862CAC
#862CAC is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.198 H 313.6°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #862CAC |
|---|---|
| RGB | rgb(134, 44, 172) |
| HSL | hsl(282, 59%, 42%) |
| HSV | hsv(282, 74%, 67%) |
| CMYK | cmyk(22.1%, 74.4%, 0%, 32.5%) |
| CIE-LAB | lab(37.57, 57.17, -50.84) |
| CIE-LCH | lch(37.57, 76.50, 318.35°) |
| OKLab | oklab(48.73% 0.1367 -0.1436) |
| OKLCH | oklch(48.73% 0.198 313.6) |
| XYZ | xyz(18.1773, 9.8488, 39.9652) |
| Luminance | 0.0985 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.59
Purply
#983FB2
ΔE00 5.54
Darkviolet
#9400D3
ΔE00 5.75
Darkorchid
#9932CC
ΔE00 5.81
Rebeccapurple
#663399
ΔE00 6.13
Barney
#AC1DB8
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862CAC #52AC2C
analogous
#462CAC #862CAC #AC2C92
triadic
#862CAC #AC862C #2CAC86
tetradic
#862CAC #AC462C #52AC2C #2C92AC
square
#862CAC #AC462C #52AC2C #2C92AC
split-complementary
#862CAC #92AC2C #2CAC46
monochromatic
#3A134B #60207B #862CAC #A746D0 #BE76DC
Accessibility & contrast
On white
7.07
#862CAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#862CAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862CAC
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862CAC | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B0
Deuteranopia (green-blind)
#215AA9
Tritanopia (blue-blind)
#82486A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #862cac; /* rgb */ color: rgb(134, 44, 172); /* oklch */ color: oklch(48.7% 0.198 313.6);
Tailwind
colors: {
custom: {
50: '#ad6ec5',
500: '#862cac',
950: '#000000',
},
}SCSS
$custom: #862cac; $custom-light: #ad6ec5; $custom-dark: #000000;
JSON
{
"hex": "#862cac",
"rgb": {
"r": 134,
"g": 44,
"b": 172
},
"hsl": {
"h": 282.188,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.48725,
"c": 0.19825,
"h": 313.6
},
"luminance": 0.09848
}Semantic roles & 50–950 ramp
primary
#862CAC
secondary
#89C470
accent
#E24574
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82