#862F93#862F93
#862F93 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.171 H 322.2°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #862F93 |
|---|---|
| RGB | rgb(134, 47, 147) |
| HSL | hsl(292, 52%, 38%) |
| HSV | hsv(292, 68%, 58%) |
| CMYK | cmyk(8.8%, 68%, 0%, 42.4%) |
| CIE-LAB | lab(36.38, 50.94, -37.66) |
| CIE-LCH | lch(36.38, 63.35, 323.53°) |
| OKLab | oklab(47.36% 0.1355 -0.105) |
| OKLCH | oklch(47.36% 0.171 322.2) |
| XYZ | xyz(16.1139, 9.2088, 28.5268) |
| Luminance | 0.0921 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.61
Purple (survey)
#7E1E9C
ΔE00 4.17
Darkmagenta
#8B008B
ΔE00 4.70
Barney Purple
#A00498
ΔE00 5.11
Purple
#800080
ΔE00 6.04
Purply
#983FB2
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862F93 #3C932F
analogous
#542F93 #862F93 #932F6E
triadic
#862F93 #93862F #2F9386
tetradic
#862F93 #93542F #3C932F #2F6E93
square
#862F93 #93542F #3C932F #2F6E93
split-complementary
#862F93 #6E932F #2F9354
monochromatic
#311136 #5C2065 #862F93 #B03EC1 #C36CD0
Accessibility & contrast
On white
7.39
#862F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#862F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862F93
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862F93 | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#134F96
Deuteranopia (green-blind)
#3C5991
Tritanopia (blue-blind)
#88405D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #862f93; /* rgb */ color: rgb(134, 47, 147); /* oklch */ color: oklch(47.4% 0.171 322.2);
Tailwind
colors: {
custom: {
50: '#ac6fb3',
500: '#862f93',
950: '#000000',
},
}SCSS
$custom: #862f93; $custom-light: #ac6fb3; $custom-dark: #000000;
JSON
{
"hex": "#862f93",
"rgb": {
"r": 134,
"g": 47,
"b": 147
},
"hsl": {
"h": 292.2,
"s": 51.546,
"l": 38.039
},
"oklch": {
"l": 0.47361,
"c": 0.17143,
"h": 322.2
},
"luminance": 0.09208
}Semantic roles & 50–950 ramp
primary
#862F93
secondary
#71B766
accent
#DB4D5F
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110811
muted
#807B80