#8D46CD#8D46CD
#8D46CD is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.9% C 0.201 H 304.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #8D46CD |
|---|---|
| RGB | rgb(141, 70, 205) |
| HSL | hsl(272, 57%, 54%) |
| HSV | hsv(272, 66%, 80%) |
| CMYK | cmyk(31.2%, 65.9%, 0%, 19.6%) |
| CIE-LAB | lab(44.87, 54.49, -58.34) |
| CIE-LCH | lch(44.87, 79.83, 313.04°) |
| OKLab | oklab(54.86% 0.1147 -0.1655) |
| OKLCH | oklch(54.86% 0.201 304.7) |
| XYZ | xyz(24.1916, 14.4509, 59.2606) |
| Luminance | 0.1445 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.68
Blueviolet
#8A2BE2
ΔE00 5.06
Purpley
#8756E4
ΔE00 5.53
Purply
#983FB2
ΔE00 5.56
Violet (survey)
#9A0EEA
ΔE00 6.41
Bluish Purple
#703BE7
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D46CD #86CD46
analogous
#4A46CD #8D46CD #CD46C9
triadic
#8D46CD #CD8D46 #46CD8D
tetradic
#8D46CD #CD4A46 #86CD46 #46C9CD
square
#8D46CD #CD4A46 #86CD46 #46C9CD
split-complementary
#8D46CD #C9CD46 #46CD4A
monochromatic
#4F2078 #6E2DA8 #8D46CD #AB76DA #C8A6E7
Accessibility & contrast
On white
5.40
#8D46CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#8D46CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D46CD
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D46CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D46CD | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#1C6ACA
Tritanopia (blue-blind)
#816484
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8d46cd; /* rgb */ color: rgb(141, 70, 205); /* oklch */ color: oklch(54.9% 0.201 304.7);
Tailwind
colors: {
custom: {
50: '#b37edd',
500: '#8d46cd',
950: '#000000',
},
}SCSS
$custom: #8d46cd; $custom-light: #b37edd; $custom-dark: #000000;
JSON
{
"hex": "#8d46cd",
"rgb": {
"r": 141,
"g": 70,
"b": 205
},
"hsl": {
"h": 271.556,
"s": 57.447,
"l": 53.922
},
"oklch": {
"l": 0.54858,
"c": 0.20139,
"h": 304.7
},
"luminance": 0.14451
}Semantic roles & 50–950 ramp
primary
#8D46CD
secondary
#B6D49B
accent
#E14790
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83