#8846C7#8846C7
#8846C7 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.9% C 0.194 H 304.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #8846C7 |
|---|---|
| RGB | rgb(136, 70, 199) |
| HSL | hsl(271, 54%, 53%) |
| HSV | hsv(271, 65%, 78%) |
| CMYK | cmyk(31.7%, 64.8%, 0%, 22%) |
| CIE-LAB | lab(43.86, 51.99, -56.54) |
| CIE-LCH | lch(43.86, 76.82, 312.60°) |
| OKLab | oklab(53.86% 0.1086 -0.1604) |
| OKLCH | oklch(53.86% 0.194 304.1) |
| XYZ | xyz(22.6500, 13.7382, 55.4802) |
| Luminance | 0.1374 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.01
Blueviolet
#8A2BE2
ΔE00 5.27
Purply
#983FB2
ΔE00 5.40
Royal Purple
#7851A9
ΔE00 5.97
Purpley
#8756E4
ΔE00 6.16
Bluish Purple
#703BE7
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8846C7 #85C746
analogous
#4846C7 #8846C7 #C746C5
triadic
#8846C7 #C78846 #46C788
tetradic
#8846C7 #C74846 #85C746 #46C5C7
square
#8846C7 #C74846 #85C746 #46C5C7
split-complementary
#8846C7 #C5C746 #46C748
monochromatic
#4A2271 #6930A0 #8846C7 #A675D5 #C4A4E3
Accessibility & contrast
On white
5.60
#8846C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#8846C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8846C7
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8846C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8846C7 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#1E68C4
Tritanopia (blue-blind)
#7C6280
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8846c7; /* rgb */ color: rgb(136, 70, 199); /* oklch */ color: oklch(53.9% 0.194 304.1);
Tailwind
colors: {
custom: {
50: '#af7dd9',
500: '#8846c7',
950: '#000000',
},
}SCSS
$custom: #8846c7; $custom-light: #af7dd9; $custom-dark: #000000;
JSON
{
"hex": "#8846c7",
"rgb": {
"r": 136,
"g": 70,
"b": 199
},
"hsl": {
"h": 270.698,
"s": 53.527,
"l": 52.745
},
"oklch": {
"l": 0.53862,
"c": 0.19373,
"h": 304.1
},
"luminance": 0.13738
}Semantic roles & 50–950 ramp
primary
#8846C7
secondary
#B4D098
accent
#DD4B92
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A15
muted
#807C83