#8D3EB7#8D3EB7
#8D3EB7 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.4% C 0.189 H 311.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #8D3EB7 |
|---|---|
| RGB | rgb(141, 62, 183) |
| HSL | hsl(279, 49%, 48%) |
| HSV | hsv(279, 66%, 72%) |
| CMYK | cmyk(23%, 66.1%, 0%, 28.2%) |
| CIE-LAB | lab(42.04, 53.30, -50.09) |
| CIE-LCH | lch(42.04, 73.14, 316.77°) |
| OKLab | oklab(52.36% 0.1256 -0.1413) |
| OKLCH | oklch(52.36% 0.189 311.6) |
| XYZ | xyz(21.2528, 12.5274, 46.0890) |
| Luminance | 0.1253 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.71
Darkorchid
#9932CC
ΔE00 3.55
Barney
#AC1DB8
ΔE00 6.02
Royal Purple
#7851A9
ΔE00 6.20
Medium Purple
#9E43A2
ΔE00 6.40
Darkviolet
#9400D3
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D3EB7 #68B73E
analogous
#513EB7 #8D3EB7 #B73EA4
triadic
#8D3EB7 #B78D3E #3EB78D
tetradic
#8D3EB7 #B7513E #68B73E #3EA4B7
square
#8D3EB7 #B7513E #68B73E #3EA4B7
split-complementary
#8D3EB7 #A4B73E #3EB751
monochromatic
#471F5C #6A2F89 #8D3EB7 #A867CB #C294DB
Accessibility & contrast
On white
5.99
#8D3EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#8D3EB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D3EB7
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D3EB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D3EB7 | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#3265B4
Tritanopia (blue-blind)
#885675
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8d3eb7; /* rgb */ color: rgb(141, 62, 183); /* oklch */ color: oklch(52.4% 0.189 311.6);
Tailwind
colors: {
custom: {
50: '#b279cd',
500: '#8d3eb7',
950: '#000000',
},
}SCSS
$custom: #8d3eb7; $custom-light: #b279cd; $custom-dark: #000000;
JSON
{
"hex": "#8d3eb7",
"rgb": {
"r": 141,
"g": 62,
"b": 183
},
"hsl": {
"h": 279.174,
"s": 49.388,
"l": 48.039
},
"oklch": {
"l": 0.52359,
"c": 0.189,
"h": 311.6
},
"luminance": 0.12527
}Semantic roles & 50–950 ramp
primary
#8D3EB7
secondary
#9FC68A
accent
#D94F7F
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82