#8D45BE#8D45BE
#8D45BE is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.7% C 0.187 H 308.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #8D45BE |
|---|---|
| RGB | rgb(141, 69, 190) |
| HSL | hsl(276, 48%, 51%) |
| HSV | hsv(276, 64%, 75%) |
| CMYK | cmyk(25.8%, 63.7%, 0%, 25.5%) |
| CIE-LAB | lab(43.71, 51.51, -51.52) |
| CIE-LCH | lch(43.71, 72.85, 314.99°) |
| OKLab | oklab(53.7% 0.117 -0.1455) |
| OKLCH | oklch(53.7% 0.187 308.8) |
| XYZ | xyz(22.4050, 13.6370, 50.1571) |
| Luminance | 0.1364 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.51
Darkorchid
#9932CC
ΔE00 3.66
Royal Purple
#7851A9
ΔE00 5.66
Blueviolet
#8A2BE2
ΔE00 6.41
Deep Lavender
#8D5EB7
ΔE00 6.69
Barney
#AC1DB8
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D45BE #76BE45
analogous
#5045BE #8D45BE #BE45B3
triadic
#8D45BE #BE8D45 #45BE8D
tetradic
#8D45BE #BE5045 #76BE45 #45B3BE
square
#8D45BE #BE5045 #76BE45 #45B3BE
split-complementary
#8D45BE #B3BE45 #45BE50
monochromatic
#4B2365 #6C3393 #8D45BE #A972CE #C5A0DE
Accessibility & contrast
On white
5.63
#8D45BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#8D45BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D45BE
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D45BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D45BE | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#3268BB
Tritanopia (blue-blind)
#865D7B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8d45be; /* rgb */ color: rgb(141, 69, 190); /* oklch */ color: oklch(53.7% 0.187 308.8);
Tailwind
colors: {
custom: {
50: '#b27dd2',
500: '#8d45be',
950: '#000000',
},
}SCSS
$custom: #8d45be; $custom-light: #b27dd2; $custom-dark: #000000;
JSON
{
"hex": "#8d45be",
"rgb": {
"r": 141,
"g": 69,
"b": 190
},
"hsl": {
"h": 275.702,
"s": 48.207,
"l": 50.784
},
"oklch": {
"l": 0.53704,
"c": 0.18668,
"h": 308.8
},
"luminance": 0.13637
}Semantic roles & 50–950 ramp
primary
#8D45BE
secondary
#AACA95
accent
#D85087
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83