#8E4FBB#8E4FBB
#8E4FBB is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.0% C 0.169 H 308.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4FBB |
|---|---|
| RGB | rgb(142, 79, 187) |
| HSL | hsl(275, 44%, 52%) |
| HSV | hsv(275, 58%, 73%) |
| CMYK | cmyk(24.1%, 57.8%, 0%, 26.7%) |
| CIE-LAB | lab(45.54, 45.96, -46.83) |
| CIE-LCH | lch(45.54, 65.61, 314.46°) |
| OKLab | oklab(55% 0.1059 -0.1317) |
| OKLCH | oklch(55% 0.169 308.8) |
| XYZ | xyz(22.9192, 14.9310, 48.6787) |
| Luminance | 0.1493 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.25
Purply
#983FB2
ΔE00 4.28
Royal Purple
#7851A9
ΔE00 4.93
Amethyst
#9B5FC0
ΔE00 5.37
Darkorchid
#9932CC
ΔE00 5.73
Medium Purple
#9E43A2
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4FBB #7CBB4F
analogous
#584FBB #8E4FBB #BB4FB2
triadic
#8E4FBB #BB8E4F #4FBB8E
tetradic
#8E4FBB #BB584F #7CBB4F #4FB2BB
square
#8E4FBB #BB584F #7CBB4F #4FB2BB
split-complementary
#8E4FBB #B2BB4F #4FBB58
monochromatic
#4D2868 #6E3994 #8E4FBB #AA7BCC #C7A7DD
Accessibility & contrast
On white
5.27
#8E4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#8E4FBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4FBB
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4FBB | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2869BF
Deuteranopia (green-blind)
#416DB8
Tritanopia (blue-blind)
#88637D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8e4fbb; /* rgb */ color: rgb(142, 79, 187); /* oklch */ color: oklch(55.0% 0.169 308.8);
Tailwind
colors: {
custom: {
50: '#b283d0',
500: '#8e4fbb',
950: '#000000',
},
}SCSS
$custom: #8e4fbb; $custom-light: #b283d0; $custom-dark: #000000;
JSON
{
"hex": "#8e4fbb",
"rgb": {
"r": 142,
"g": 79,
"b": 187
},
"hsl": {
"h": 275,
"s": 44.262,
"l": 52.157
},
"oklch": {
"l": 0.55004,
"c": 0.16903,
"h": 308.8
},
"luminance": 0.14931
}Semantic roles & 50–950 ramp
primary
#8E4FBB
secondary
#AFCA9B
accent
#D45489
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82