#8842BF#8842BF
#8842BF is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.8% C 0.190 H 306.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8842BF |
|---|---|
| RGB | rgb(136, 66, 191) |
| HSL | hsl(274, 49%, 50%) |
| HSV | hsv(274, 65%, 75%) |
| CMYK | cmyk(28.8%, 65.4%, 0%, 25.1%) |
| CIE-LAB | lab(42.60, 52.08, -53.92) |
| CIE-LCH | lch(42.60, 74.96, 314.01°) |
| OKLab | oklab(52.79% 0.1138 -0.1527) |
| OKLCH | oklch(52.79% 0.19 306.7) |
| XYZ | xyz(21.5035, 12.8925, 50.6358) |
| Luminance | 0.1289 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.64
Purply
#983FB2
ΔE00 4.36
Blueviolet
#8A2BE2
ΔE00 5.61
Royal Purple
#7851A9
ΔE00 5.68
Darkviolet
#9400D3
ΔE00 6.62
Violet (survey)
#9A0EEA
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8842BF #79BF42
analogous
#4942BF #8842BF #BF42B7
triadic
#8842BF #BF8842 #42BF88
tetradic
#8842BF #BF4942 #79BF42 #42B7BF
square
#8842BF #BF4942 #79BF42 #42B7BF
split-complementary
#8842BF #B7BF42 #42BF49
monochromatic
#472265 #683292 #8842BF #A570CE #C29DDE
Accessibility & contrast
On white
5.87
#8842BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#8842BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8842BF
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8842BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8842BF | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#2565BC
Tritanopia (blue-blind)
#7F5D7B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8842bf; /* rgb */ color: rgb(136, 66, 191); /* oklch */ color: oklch(52.8% 0.190 306.7);
Tailwind
colors: {
custom: {
50: '#af7bd3',
500: '#8842bf',
950: '#000000',
},
}SCSS
$custom: #8842bf; $custom-light: #af7bd3; $custom-dark: #000000;
JSON
{
"hex": "#8842bf",
"rgb": {
"r": 136,
"g": 66,
"b": 191
},
"hsl": {
"h": 273.6,
"s": 49.407,
"l": 50.392
},
"oklch": {
"l": 0.52788,
"c": 0.19043,
"h": 306.7
},
"luminance": 0.12892
}Semantic roles & 50–950 ramp
primary
#8842BF
secondary
#ABCA93
accent
#D94F8C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83