#8D45B7#8D45B7
#8D45B7 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.2% C 0.179 H 310.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #8D45B7 |
|---|---|
| RGB | rgb(141, 69, 183) |
| HSL | hsl(278, 45%, 49%) |
| HSV | hsv(278, 62%, 72%) |
| CMYK | cmyk(23%, 62.3%, 0%, 28.2%) |
| CIE-LAB | lab(43.27, 49.93, -48.13) |
| CIE-LCH | lch(43.27, 69.35, 316.05°) |
| OKLab | oklab(53.25% 0.1173 -0.1355) |
| OKLCH | oklch(53.25% 0.179 310.9) |
| XYZ | xyz(21.6583, 13.3383, 46.2242) |
| Luminance | 0.1334 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.71
Darkorchid
#9932CC
ΔE00 4.26
Royal Purple
#7851A9
ΔE00 5.31
Medium Purple
#9E43A2
ΔE00 6.12
Deep Lavender
#8D5EB7
ΔE00 6.59
Barney
#AC1DB8
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D45B7 #6FB745
analogous
#5445B7 #8D45B7 #B745A8
triadic
#8D45B7 #B78D45 #45B78D
tetradic
#8D45B7 #B75445 #6FB745 #45A8B7
square
#8D45B7 #B75445 #6FB745 #45A8B7
split-complementary
#8D45B7 #A8B745 #45B754
monochromatic
#49235E #6B348B #8D45B7 #A870C9 #C39DDA
Accessibility & contrast
On white
5.73
#8D45B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#8D45B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D45B7
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D45B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D45B7 | 1.00 | 5.73 | 3.67 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1263BB
Deuteranopia (green-blind)
#3968B4
Tritanopia (blue-blind)
#885B78
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8d45b7; /* rgb */ color: rgb(141, 69, 183); /* oklch */ color: oklch(53.2% 0.179 310.9);
Tailwind
colors: {
custom: {
50: '#b27dcd',
500: '#8d45b7',
950: '#000000',
},
}SCSS
$custom: #8d45b7; $custom-light: #b27dcd; $custom-dark: #000000;
JSON
{
"hex": "#8d45b7",
"rgb": {
"r": 141,
"g": 69,
"b": 183
},
"hsl": {
"h": 277.895,
"s": 45.238,
"l": 49.412
},
"oklch": {
"l": 0.53245,
"c": 0.17921,
"h": 310.9
},
"luminance": 0.13338
}Semantic roles & 50–950 ramp
primary
#8D45B7
secondary
#A5C692
accent
#D55383
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A13
muted
#807C82