#8D3EBA#8D3EBA
#8D3EBA is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.6% C 0.192 H 310.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #8D3EBA |
|---|---|
| RGB | rgb(141, 62, 186) |
| HSL | hsl(278, 50%, 49%) |
| HSV | hsv(278, 67%, 73%) |
| CMYK | cmyk(24.2%, 66.7%, 0%, 27.1%) |
| CIE-LAB | lab(42.24, 53.95, -51.54) |
| CIE-LCH | lch(42.24, 74.62, 316.31°) |
| OKLab | oklab(52.56% 0.1254 -0.1455) |
| OKLCH | oklch(52.56% 0.192 310.7) |
| XYZ | xyz(21.5684, 12.6536, 47.7511) |
| Luminance | 0.1265 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.02
Darkorchid
#9932CC
ΔE00 3.21
Barney
#AC1DB8
ΔE00 6.16
Blueviolet
#8A2BE2
ΔE00 6.22
Darkviolet
#9400D3
ΔE00 6.28
Royal Purple
#7851A9
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D3EBA #6BBA3E
analogous
#4F3EBA #8D3EBA #BA3EA9
triadic
#8D3EBA #BA8D3E #3EBA8D
tetradic
#8D3EBA #BA4F3E #6BBA3E #3EA9BA
square
#8D3EBA #BA4F3E #6BBA3E #3EA9BA
split-complementary
#8D3EBA #A9BA3E #3EBA4F
monochromatic
#471F5E #6A2F8C #8D3EBA #A868CD #C396DC
Accessibility & contrast
On white
5.95
#8D3EBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#8D3EBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D3EBA
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D3EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D3EBA | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#2E65B7
Tritanopia (blue-blind)
#875777
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8d3eba; /* rgb */ color: rgb(141, 62, 186); /* oklch */ color: oklch(52.6% 0.192 310.7);
Tailwind
colors: {
custom: {
50: '#b279cf',
500: '#8d3eba',
950: '#000000',
},
}SCSS
$custom: #8d3eba; $custom-light: #b279cf; $custom-dark: #000000;
JSON
{
"hex": "#8d3eba",
"rgb": {
"r": 141,
"g": 62,
"b": 186
},
"hsl": {
"h": 278.226,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.52561,
"c": 0.19206,
"h": 310.7
},
"luminance": 0.12653
}Semantic roles & 50–950 ramp
primary
#8D3EBA
secondary
#A2C88C
accent
#DA4E81
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82