#873EAF#873EAF
#873EAF is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.1% C 0.179 H 311.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #873EAF |
|---|---|
| RGB | rgb(135, 62, 175) |
| HSL | hsl(279, 48%, 46%) |
| HSV | hsv(279, 65%, 69%) |
| CMYK | cmyk(22.9%, 64.6%, 0%, 31.4%) |
| CIE-LAB | lab(40.72, 50.16, -47.54) |
| CIE-LCH | lch(40.72, 69.10, 316.53°) |
| OKLab | oklab(51.07% 0.1182 -0.134) |
| OKLCH | oklch(51.07% 0.179 311.4) |
| XYZ | xyz(19.4507, 11.6918, 41.7812) |
| Luminance | 0.1169 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.43
Darkorchid
#9932CC
ΔE00 4.92
Royal Purple
#7851A9
ΔE00 5.60
Medium Purple
#9E43A2
ΔE00 6.53
Purple (survey)
#7E1E9C
ΔE00 6.62
Barney
#AC1DB8
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873EAF #66AF3E
analogous
#4F3EAF #873EAF #AF3E9F
triadic
#873EAF #AF873E #3EAF87
tetradic
#873EAF #AF4F3E #66AF3E #3E9FAF
square
#873EAF #AF4F3E #66AF3E #3E9FAF
split-complementary
#873EAF #9FAF3E #3EAF4F
monochromatic
#411E55 #642E82 #873EAF #A463C8 #BE90D8
Accessibility & contrast
On white
6.29
#873EAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#873EAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873EAF
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873EAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873EAF | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#3361AC
Tritanopia (blue-blind)
#825471
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #873eaf; /* rgb */ color: rgb(135, 62, 175); /* oklch */ color: oklch(51.1% 0.179 311.4);
Tailwind
colors: {
custom: {
50: '#ad78c7',
500: '#873eaf',
950: '#000000',
},
}SCSS
$custom: #873eaf; $custom-light: #ad78c7; $custom-dark: #000000;
JSON
{
"hex": "#873eaf",
"rgb": {
"r": 135,
"g": 62,
"b": 175
},
"hsl": {
"h": 278.761,
"s": 47.679,
"l": 46.471
},
"oklch": {
"l": 0.51073,
"c": 0.17867,
"h": 311.4
},
"luminance": 0.11691
}Semantic roles & 50–950 ramp
primary
#873EAF
secondary
#9CC386
accent
#D75180
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82