#8D71C7#8D71C7
#8D71C7 is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.2% C 0.129 H 297.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #8D71C7 |
|---|---|
| RGB | rgb(141, 113, 199) |
| HSL | hsl(260, 43%, 61%) |
| HSV | hsv(260, 43%, 78%) |
| CMYK | cmyk(29.1%, 43.2%, 0%, 22%) |
| CIE-LAB | lab(53.60, 29.49, -40.97) |
| CIE-LCH | lch(53.60, 50.48, 305.75°) |
| OKLab | oklab(61.18% 0.0596 -0.1147) |
| OKLCH | oklch(61.18% 0.129 297.5) |
| XYZ | xyz(27.1960, 21.5962, 56.7574) |
| Luminance | 0.2160 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.50
Deep Lilac
#966EBD
ΔE00 3.52
Deep Lavender
#8D5EB7
ΔE00 6.53
Amethyst
#9B5FC0
ΔE00 6.60
Wisteria
#A87DC2
ΔE00 7.72
Soft Purple
#A66FB5
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D71C7 #ABC771
analogous
#7180C7 #8D71C7 #B871C7
triadic
#8D71C7 #C78D71 #71C78D
tetradic
#8D71C7 #C77180 #ABC771 #71C7B8
square
#8D71C7 #C77180 #ABC771 #71C7B8
split-complementary
#8D71C7 #C7B871 #80C771
monochromatic
#503688 #6A47B4 #8D71C7 #B09DD8 #D3C9EA
Accessibility & contrast
On white
3.95
#8D71C7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#8D71C7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D71C7
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D71C7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D71C7 | 1.00 | 3.95 | 5.32 | 5.32 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5880CA
Deuteranopia (green-blind)
#5D7FC5
Tritanopia (blue-blind)
#818092
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #8d71c7; /* rgb */ color: rgb(141, 113, 199); /* oklch */ color: oklch(61.2% 0.129 297.5);
Tailwind
colors: {
custom: {
50: '#b09ad8',
500: '#8d71c7',
950: '#000000',
},
}SCSS
$custom: #8d71c7; $custom-light: #b09ad8; $custom-dark: #000000;
JSON
{
"hex": "#8d71c7",
"rgb": {
"r": 141,
"g": 113,
"b": 199
},
"hsl": {
"h": 259.535,
"s": 43.434,
"l": 61.176
},
"oklch": {
"l": 0.61182,
"c": 0.12931,
"h": 297.5
},
"luminance": 0.21596
}Semantic roles & 50–950 ramp
primary
#8D71C7
secondary
#D0DABA
accent
#B72F8A
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83