#8D3EB8#8D3EB8
#8D3EB8 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.4% C 0.190 H 311.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8D3EB8 |
|---|---|
| RGB | rgb(141, 62, 184) |
| HSL | hsl(279, 50%, 48%) |
| HSV | hsv(279, 66%, 72%) |
| CMYK | cmyk(23.4%, 66.3%, 0%, 27.8%) |
| CIE-LAB | lab(42.11, 53.52, -50.58) |
| CIE-LCH | lch(42.11, 73.63, 316.62°) |
| OKLab | oklab(52.43% 0.1255 -0.1427) |
| OKLCH | oklch(52.43% 0.19 311.3) |
| XYZ | xyz(21.3573, 12.5692, 46.6391) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.81
Darkorchid
#9932CC
ΔE00 3.43
Barney
#AC1DB8
ΔE00 6.06
Royal Purple
#7851A9
ΔE00 6.23
Darkviolet
#9400D3
ΔE00 6.44
Blueviolet
#8A2BE2
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D3EB8 #69B83E
analogous
#503EB8 #8D3EB8 #B83EA6
triadic
#8D3EB8 #B88D3E #3EB88D
tetradic
#8D3EB8 #B8503E #69B83E #3EA6B8
square
#8D3EB8 #B8503E #69B83E #3EA6B8
split-complementary
#8D3EB8 #A6B83E #3EB850
monochromatic
#471F5C #6A2F8A #8D3EB8 #A867CC #C395DB
Accessibility & contrast
On white
5.98
#8D3EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#8D3EB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D3EB8
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D3EB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D3EB8 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#3065B5
Tritanopia (blue-blind)
#885776
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8d3eb8; /* rgb */ color: rgb(141, 62, 184); /* oklch */ color: oklch(52.4% 0.190 311.3);
Tailwind
colors: {
custom: {
50: '#b279ce',
500: '#8d3eb8',
950: '#000000',
},
}SCSS
$custom: #8d3eb8; $custom-light: #b279ce; $custom-dark: #000000;
JSON
{
"hex": "#8d3eb8",
"rgb": {
"r": 141,
"g": 62,
"b": 184
},
"hsl": {
"h": 278.852,
"s": 49.593,
"l": 48.235
},
"oklch": {
"l": 0.52426,
"c": 0.19003,
"h": 311.3
},
"luminance": 0.12569
}Semantic roles & 50–950 ramp
primary
#8D3EB8
secondary
#A0C78B
accent
#D94F7F
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82