#8D3EB5#8D3EB5
#8D3EB5 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.2% C 0.187 H 312.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8D3EB5 |
|---|---|
| RGB | rgb(141, 62, 181) |
| HSL | hsl(280, 49%, 48%) |
| HSV | hsv(280, 66%, 71%) |
| CMYK | cmyk(22.1%, 65.7%, 0%, 29%) |
| CIE-LAB | lab(41.91, 52.86, -49.12) |
| CIE-LCH | lch(41.91, 72.16, 317.10°) |
| OKLab | oklab(52.23% 0.1257 -0.1384) |
| OKLCH | oklch(52.23% 0.187 312.2) |
| XYZ | xyz(21.0461, 12.4447, 45.0005) |
| Luminance | 0.1244 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.53
Darkorchid
#9932CC
ΔE00 3.81
Barney
#AC1DB8
ΔE00 5.95
Medium Purple
#9E43A2
ΔE00 6.15
Royal Purple
#7851A9
ΔE00 6.16
Darkviolet
#9400D3
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D3EB5 #66B53E
analogous
#523EB5 #8D3EB5 #B53EA1
triadic
#8D3EB5 #B58D3E #3EB58D
tetradic
#8D3EB5 #B5523E #66B53E #3EA1B5
square
#8D3EB5 #B5523E #66B53E #3EA1B5
split-complementary
#8D3EB5 #A1B53E #3EB552
monochromatic
#461F5A #692E87 #8D3EB5 #A966CA #C293DA
Accessibility & contrast
On white
6.02
#8D3EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#8D3EB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D3EB5
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D3EB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D3EB5 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FB9
Deuteranopia (green-blind)
#3465B2
Tritanopia (blue-blind)
#885674
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8d3eb5; /* rgb */ color: rgb(141, 62, 181); /* oklch */ color: oklch(52.2% 0.187 312.2);
Tailwind
colors: {
custom: {
50: '#b279cc',
500: '#8d3eb5',
950: '#000000',
},
}SCSS
$custom: #8d3eb5; $custom-light: #b279cc; $custom-dark: #000000;
JSON
{
"hex": "#8d3eb5",
"rgb": {
"r": 141,
"g": 62,
"b": 181
},
"hsl": {
"h": 279.832,
"s": 48.971,
"l": 47.647
},
"oklch": {
"l": 0.52226,
"c": 0.18696,
"h": 312.2
},
"luminance": 0.12444
}Semantic roles & 50–950 ramp
primary
#8D3EB5
secondary
#9EC589
accent
#D94F7D
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82