#8D3EBB#8D3EBB
#8D3EBB is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.6% C 0.193 H 310.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8D3EBB |
|---|---|
| RGB | rgb(141, 62, 187) |
| HSL | hsl(278, 50%, 49%) |
| HSV | hsv(278, 67%, 73%) |
| CMYK | cmyk(24.6%, 66.8%, 0%, 26.7%) |
| CIE-LAB | lab(42.30, 54.17, -52.02) |
| CIE-LCH | lch(42.30, 75.11, 316.16°) |
| OKLab | oklab(52.63% 0.1253 -0.1469) |
| OKLCH | oklch(52.63% 0.193 310.5) |
| XYZ | xyz(21.6751, 12.6963, 48.3129) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.10
Purply
#983FB2
ΔE00 3.13
Blueviolet
#8A2BE2
ΔE00 6.07
Darkviolet
#9400D3
ΔE00 6.21
Barney
#AC1DB8
ΔE00 6.21
Royal Purple
#7851A9
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D3EBB #6CBB3E
analogous
#4F3EBB #8D3EBB #BB3EAB
triadic
#8D3EBB #BB8D3E #3EBB8D
tetradic
#8D3EBB #BB4F3E #6CBB3E #3EABBB
square
#8D3EBB #BB4F3E #6CBB3E #3EABBB
split-complementary
#8D3EBB #ABBB3E #3EBB4F
monochromatic
#48205F #6A2F8D #8D3EBB #A869CD #C397DC
Accessibility & contrast
On white
5.93
#8D3EBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#8D3EBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D3EBB
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D3EBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D3EBB | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#2D65B8
Tritanopia (blue-blind)
#875877
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8d3ebb; /* rgb */ color: rgb(141, 62, 187); /* oklch */ color: oklch(52.6% 0.193 310.5);
Tailwind
colors: {
custom: {
50: '#b279d0',
500: '#8d3ebb',
950: '#000000',
},
}SCSS
$custom: #8d3ebb; $custom-light: #b279d0; $custom-dark: #000000;
JSON
{
"hex": "#8d3ebb",
"rgb": {
"r": 141,
"g": 62,
"b": 187
},
"hsl": {
"h": 277.92,
"s": 50.201,
"l": 48.824
},
"oklch": {
"l": 0.52629,
"c": 0.19308,
"h": 310.5
},
"luminance": 0.12696
}Semantic roles & 50–950 ramp
primary
#8D3EBB
secondary
#A3C88D
accent
#DA4E81
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82