#8D4DC2#8D4DC2
#8D4DC2 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.0% C 0.180 H 306.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #8D4DC2 |
|---|---|
| RGB | rgb(141, 77, 194) |
| HSL | hsl(273, 49%, 53%) |
| HSV | hsv(273, 60%, 76%) |
| CMYK | cmyk(27.3%, 60.3%, 0%, 23.9%) |
| CIE-LAB | lab(45.45, 48.39, -51.05) |
| CIE-LCH | lch(45.45, 70.34, 313.47°) |
| OKLab | oklab(55.05% 0.1072 -0.1441) |
| OKLCH | oklch(55.05% 0.18 306.6) |
| XYZ | xyz(23.3739, 14.8658, 52.6665) |
| Luminance | 0.1487 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.78
Darkorchid
#9932CC
ΔE00 5.00
Deep Lavender
#8D5EB7
ΔE00 5.10
Royal Purple
#7851A9
ΔE00 5.41
Amethyst
#9B5FC0
ΔE00 6.05
Purpley
#8756E4
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D4DC2 #82C24D
analogous
#524DC2 #8D4DC2 #C24DBC
triadic
#8D4DC2 #C28D4D #4DC28D
tetradic
#8D4DC2 #C2524D #82C24D #4DBCC2
square
#8D4DC2 #C2524D #82C24D #4DBCC2
split-complementary
#8D4DC2 #BCC24D #4DC252
monochromatic
#4E266F #6E369C #8D4DC2 #AA7BD2 #C7A8E1
Accessibility & contrast
On white
5.29
#8D4DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#8D4DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D4DC2
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D4DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D4DC2 | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1669C6
Deuteranopia (green-blind)
#376CBF
Tritanopia (blue-blind)
#846480
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8d4dc2; /* rgb */ color: rgb(141, 77, 194); /* oklch */ color: oklch(55.0% 0.180 306.6);
Tailwind
colors: {
custom: {
50: '#b282d5',
500: '#8d4dc2',
950: '#000000',
},
}SCSS
$custom: #8d4dc2; $custom-light: #b282d5; $custom-dark: #000000;
JSON
{
"hex": "#8d4dc2",
"rgb": {
"r": 141,
"g": 77,
"b": 194
},
"hsl": {
"h": 272.821,
"s": 48.954,
"l": 53.137
},
"oklch": {
"l": 0.55048,
"c": 0.1796,
"h": 306.6
},
"luminance": 0.14866
}Semantic roles & 50–950 ramp
primary
#8D4DC2
secondary
#B3CF9C
accent
#D94F8D
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83