#8D3EB6#8D3EB6
#8D3EB6 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.3% C 0.188 H 311.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #8D3EB6 |
|---|---|
| RGB | rgb(141, 62, 182) |
| HSL | hsl(280, 49%, 48%) |
| HSV | hsv(280, 66%, 71%) |
| CMYK | cmyk(22.5%, 65.9%, 0%, 28.6%) |
| CIE-LAB | lab(41.98, 53.08, -49.61) |
| CIE-LCH | lch(41.98, 72.65, 316.94°) |
| OKLab | oklab(52.29% 0.1256 -0.1398) |
| OKLCH | oklch(52.29% 0.188 311.9) |
| XYZ | xyz(21.1491, 12.4859, 45.5428) |
| Luminance | 0.1249 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.62
Darkorchid
#9932CC
ΔE00 3.68
Barney
#AC1DB8
ΔE00 5.98
Royal Purple
#7851A9
ΔE00 6.18
Medium Purple
#9E43A2
ΔE00 6.27
Darkviolet
#9400D3
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D3EB6 #67B63E
analogous
#513EB6 #8D3EB6 #B63EA3
triadic
#8D3EB6 #B68D3E #3EB68D
tetradic
#8D3EB6 #B6513E #67B63E #3EA3B6
square
#8D3EB6 #B6513E #67B63E #3EA3B6
split-complementary
#8D3EB6 #A3B63E #3EB651
monochromatic
#461F5B #6A2E88 #8D3EB6 #A966CB #C294DB
Accessibility & contrast
On white
6.01
#8D3EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#8D3EB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D3EB6
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D3EB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D3EB6 | 1.00 | 6.01 | 3.50 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBA
Deuteranopia (green-blind)
#3365B3
Tritanopia (blue-blind)
#885675
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8d3eb6; /* rgb */ color: rgb(141, 62, 182); /* oklch */ color: oklch(52.3% 0.188 311.9);
Tailwind
colors: {
custom: {
50: '#b279cc',
500: '#8d3eb6',
950: '#000000',
},
}SCSS
$custom: #8d3eb6; $custom-light: #b279cc; $custom-dark: #000000;
JSON
{
"hex": "#8d3eb6",
"rgb": {
"r": 141,
"g": 62,
"b": 182
},
"hsl": {
"h": 279.5,
"s": 49.18,
"l": 47.843
},
"oklch": {
"l": 0.52293,
"c": 0.18799,
"h": 311.9
},
"luminance": 0.12485
}Semantic roles & 50–950 ramp
primary
#8D3EB6
secondary
#9EC68A
accent
#D94F7E
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82