#862C98#862C98
#862C98 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.180 H 320.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #862C98 |
|---|---|
| RGB | rgb(134, 44, 152) |
| HSL | hsl(290, 55%, 38%) |
| HSV | hsv(290, 71%, 60%) |
| CMYK | cmyk(11.8%, 71.1%, 0%, 40.4%) |
| CIE-LAB | lab(36.25, 53.15, -40.92) |
| CIE-LCH | lch(36.25, 67.08, 322.41°) |
| OKLab | oklab(47.36% 0.1387 -0.1145) |
| OKLCH | oklch(47.36% 0.18 320.5) |
| XYZ | xyz(16.3990, 9.1375, 30.5996) |
| Luminance | 0.0914 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.22
Warm Purple
#952E8F
ΔE00 4.38
Darkmagenta
#8B008B
ΔE00 4.64
Barney Purple
#A00498
ΔE00 5.13
Purple
#800080
ΔE00 6.10
Purply
#983FB2
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862C98 #3E982C
analogous
#502C98 #862C98 #982C74
triadic
#862C98 #98862C #2C9886
tetradic
#862C98 #98502C #3E982C #2C7498
square
#862C98 #98502C #3E982C #2C7498
split-complementary
#862C98 #74982C #2C9850
monochromatic
#321139 #5C1E69 #862C98 #AF3BC6 #C26AD4
Accessibility & contrast
On white
7.43
#862C98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#862C98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862C98
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862C98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862C98 | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#375895
Tritanopia (blue-blind)
#87405F
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #862c98; /* rgb */ color: rgb(134, 44, 152); /* oklch */ color: oklch(47.4% 0.180 320.5);
Tailwind
colors: {
custom: {
50: '#ad6eb7',
500: '#862c98',
950: '#000000',
},
}SCSS
$custom: #862c98; $custom-light: #ad6eb7; $custom-dark: #000000;
JSON
{
"hex": "#862c98",
"rgb": {
"r": 134,
"g": 44,
"b": 152
},
"hsl": {
"h": 290,
"s": 55.102,
"l": 38.431
},
"oklch": {
"l": 0.47362,
"c": 0.17986,
"h": 320.5
},
"luminance": 0.09137
}Semantic roles & 50–950 ramp
primary
#862C98
secondary
#73BB65
accent
#DE4962
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80