#862F95#862F95
#862F95 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.5% C 0.173 H 321.4°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #862F95 |
|---|---|
| RGB | rgb(134, 47, 149) |
| HSL | hsl(291, 52%, 38%) |
| HSV | hsv(291, 68%, 58%) |
| CMYK | cmyk(10.1%, 68.5%, 0%, 41.6%) |
| CIE-LAB | lab(36.50, 51.33, -38.69) |
| CIE-LCH | lch(36.50, 64.28, 322.99°) |
| OKLab | oklab(47.49% 0.1355 -0.108) |
| OKLCH | oklch(47.49% 0.173 321.4) |
| XYZ | xyz(16.2722, 9.2721, 29.3605) |
| Luminance | 0.0927 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.84
Purple (survey)
#7E1E9C
ΔE00 3.94
Darkmagenta
#8B008B
ΔE00 4.82
Barney Purple
#A00498
ΔE00 5.17
Purple
#800080
ΔE00 6.21
Purply
#983FB2
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862F95 #3E952F
analogous
#532F95 #862F95 #952F71
triadic
#862F95 #95862F #2F9586
tetradic
#862F95 #95532F #3E952F #2F7195
square
#862F95 #95532F #3E952F #2F7195
split-complementary
#862F95 #71952F #2F9553
monochromatic
#321238 #5C2066 #862F95 #AF3FC2 #C26DD1
Accessibility & contrast
On white
7.36
#862F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#862F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862F95
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862F95 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F5098
Deuteranopia (green-blind)
#3B5992
Tritanopia (blue-blind)
#87415E
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #862f95; /* rgb */ color: rgb(134, 47, 149); /* oklch */ color: oklch(47.5% 0.173 321.4);
Tailwind
colors: {
custom: {
50: '#ac6fb5',
500: '#862f95',
950: '#000000',
},
}SCSS
$custom: #862f95; $custom-light: #ac6fb5; $custom-dark: #000000;
JSON
{
"hex": "#862f95",
"rgb": {
"r": 134,
"g": 47,
"b": 149
},
"hsl": {
"h": 291.176,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.47486,
"c": 0.17327,
"h": 321.4
},
"luminance": 0.09271
}Semantic roles & 50–950 ramp
primary
#862F95
secondary
#73B867
accent
#DB4C61
background
#FAF7FB
surface
#F5EDF6
border
#CFC8D0
text
#110811
muted
#807B80