#8D45C1#8D45C1
#8D45C1 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.9% C 0.190 H 308.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8D45C1 |
|---|---|
| RGB | rgb(141, 69, 193) |
| HSL | hsl(275, 50%, 51%) |
| HSV | hsv(275, 64%, 76%) |
| CMYK | cmyk(26.9%, 64.2%, 0%, 24.3%) |
| CIE-LAB | lab(43.90, 52.19, -52.96) |
| CIE-LCH | lch(43.90, 74.35, 314.58°) |
| OKLab | oklab(53.9% 0.1168 -0.1497) |
| OKLCH | oklch(53.9% 0.19 308) |
| XYZ | xyz(22.7363, 13.7695, 51.9018) |
| Luminance | 0.1377 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.50
Purply
#983FB2
ΔE00 3.90
Royal Purple
#7851A9
ΔE00 5.87
Blueviolet
#8A2BE2
ΔE00 6.04
Deep Lavender
#8D5EB7
ΔE00 6.78
Vibrant Purple
#AD03DE
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D45C1 #79C145
analogous
#4F45C1 #8D45C1 #C145B7
triadic
#8D45C1 #C18D45 #45C18D
tetradic
#8D45C1 #C14F45 #79C145 #45B7C1
square
#8D45C1 #C14F45 #79C145 #45B7C1
split-complementary
#8D45C1 #B7C145 #45C14F
monochromatic
#4B2369 #6C3297 #8D45C1 #A973D0 #C5A1E0
Accessibility & contrast
On white
5.59
#8D45C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#8D45C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D45C1
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D45C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D45C1 | 1.00 | 5.59 | 3.75 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#2E69BE
Tritanopia (blue-blind)
#855F7D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8d45c1; /* rgb */ color: rgb(141, 69, 193); /* oklch */ color: oklch(53.9% 0.190 308.0);
Tailwind
colors: {
custom: {
50: '#b27dd4',
500: '#8d45c1',
950: '#000000',
},
}SCSS
$custom: #8d45c1; $custom-light: #b27dd4; $custom-dark: #000000;
JSON
{
"hex": "#8d45c1",
"rgb": {
"r": 141,
"g": 69,
"b": 193
},
"hsl": {
"h": 274.839,
"s": 50,
"l": 51.373
},
"oklch": {
"l": 0.53904,
"c": 0.18989,
"h": 308
},
"luminance": 0.13769
}Semantic roles & 50–950 ramp
primary
#8D45C1
secondary
#ACCC96
accent
#DA4E89
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83