#8E4FBD#8E4FBD
#8E4FBD is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.1% C 0.171 H 308.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4FBD |
|---|---|
| RGB | rgb(142, 79, 189) |
| HSL | hsl(274, 45%, 53%) |
| HSV | hsv(274, 58%, 74%) |
| CMYK | cmyk(24.9%, 58.2%, 0%, 25.9%) |
| CIE-LAB | lab(45.66, 46.42, -47.80) |
| CIE-LCH | lch(45.66, 66.63, 314.16°) |
| OKLab | oklab(55.13% 0.1059 -0.1346) |
| OKLCH | oklch(55.13% 0.171 308.2) |
| XYZ | xyz(23.1348, 15.0172, 49.8141) |
| Luminance | 0.1502 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.32
Purply
#983FB2
ΔE00 4.46
Royal Purple
#7851A9
ΔE00 5.06
Amethyst
#9B5FC0
ΔE00 5.38
Darkorchid
#9932CC
ΔE00 5.61
Purpley
#8756E4
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4FBD #7EBD4F
analogous
#574FBD #8E4FBD #BD4FB5
triadic
#8E4FBD #BD8E4F #4FBD8E
tetradic
#8E4FBD #BD574F #7EBD4F #4FB5BD
square
#8E4FBD #BD574F #7EBD4F #4FB5BD
split-complementary
#8E4FBD #B5BD4F #4FBD57
monochromatic
#4E286A #6E3896 #8E4FBD #AB7CCE #C7A8DE
Accessibility & contrast
On white
5.25
#8E4FBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#8E4FBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4FBD
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4FBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4FBD | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#266AC1
Deuteranopia (green-blind)
#406DBA
Tritanopia (blue-blind)
#87647E
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8e4fbd; /* rgb */ color: rgb(142, 79, 189); /* oklch */ color: oklch(55.1% 0.171 308.2);
Tailwind
colors: {
custom: {
50: '#b283d1',
500: '#8e4fbd',
950: '#000000',
},
}SCSS
$custom: #8e4fbd; $custom-light: #b283d1; $custom-dark: #000000;
JSON
{
"hex": "#8e4fbd",
"rgb": {
"r": 142,
"g": 79,
"b": 189
},
"hsl": {
"h": 274.364,
"s": 45.455,
"l": 52.549
},
"oklch": {
"l": 0.55128,
"c": 0.17129,
"h": 308.2
},
"luminance": 0.15017
}Semantic roles & 50–950 ramp
primary
#8E4FBD
secondary
#B0CC9C
accent
#D5538A
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82