#8D45BF#8D45BF
#8D45BF is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.8% C 0.188 H 308.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #8D45BF |
|---|---|
| RGB | rgb(141, 69, 191) |
| HSL | hsl(275, 49%, 51%) |
| HSV | hsv(275, 64%, 75%) |
| CMYK | cmyk(26.2%, 63.9%, 0%, 25.1%) |
| CIE-LAB | lab(43.77, 51.73, -52.00) |
| CIE-LCH | lch(43.77, 73.35, 314.85°) |
| OKLab | oklab(53.77% 0.1169 -0.1469) |
| OKLCH | oklch(53.77% 0.188 308.5) |
| XYZ | xyz(22.5147, 13.6809, 50.7347) |
| Luminance | 0.1368 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.60
Purply
#983FB2
ΔE00 3.64
Royal Purple
#7851A9
ΔE00 5.72
Blueviolet
#8A2BE2
ΔE00 6.28
Deep Lavender
#8D5EB7
ΔE00 6.71
Barney
#AC1DB8
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D45BF #77BF45
analogous
#5045BF #8D45BF #BF45B4
triadic
#8D45BF #BF8D45 #45BF8D
tetradic
#8D45BF #BF5045 #77BF45 #45B4BF
square
#8D45BF #BF5045 #77BF45 #45B4BF
split-complementary
#8D45BF #B4BF45 #45BF50
monochromatic
#4B2366 #6C3394 #8D45BF #A973CF #C5A0DE
Accessibility & contrast
On white
5.62
#8D45BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#8D45BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D45BF
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D45BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D45BF | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#3168BC
Tritanopia (blue-blind)
#865E7C
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8d45bf; /* rgb */ color: rgb(141, 69, 191); /* oklch */ color: oklch(53.8% 0.188 308.5);
Tailwind
colors: {
custom: {
50: '#b27dd3',
500: '#8d45bf',
950: '#000000',
},
}SCSS
$custom: #8d45bf; $custom-light: #b27dd3; $custom-dark: #000000;
JSON
{
"hex": "#8d45bf",
"rgb": {
"r": 141,
"g": 69,
"b": 191
},
"hsl": {
"h": 275.41,
"s": 48.8,
"l": 50.98
},
"oklch": {
"l": 0.5377,
"c": 0.18775,
"h": 308.5
},
"luminance": 0.13681
}Semantic roles & 50–950 ramp
primary
#8D45BF
secondary
#ABCB95
accent
#D84F88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83