#8D6CDA#8D6CDA
#8D6CDA is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.4% C 0.162 H 295.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #8D6CDA |
|---|---|
| RGB | rgb(141, 108, 218) |
| HSL | hsl(258, 60%, 64%) |
| HSV | hsv(258, 50%, 85%) |
| CMYK | cmyk(35.3%, 50.5%, 0%, 14.5%) |
| CIE-LAB | lab(53.44, 37.30, -52.01) |
| CIE-LCH | lch(53.44, 64.00, 305.65°) |
| OKLab | oklab(61.39% 0.0686 -0.147) |
| OKLCH | oklch(61.39% 0.162 295) |
| XYZ | xyz(28.9987, 21.4493, 68.9284) |
| Luminance | 0.2145 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 1.65
Mediumslateblue
#7B68EE
ΔE00 4.89
Purpley
#8756E4
ΔE00 6.35
Deep Lilac
#966EBD
ΔE00 6.36
Lighter Purple
#A55AF4
ΔE00 6.59
Amethyst
#9B5FC0
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D6CDA #B9DA6C
analogous
#6C82DA #8D6CDA #C46CDA
triadic
#8D6CDA #DA8D6C #6CDA8D
tetradic
#8D6CDA #DA6C82 #B9DA6C #6CDAC4
square
#8D6CDA #DA6C82 #B9DA6C #6CDAC4
split-complementary
#8D6CDA #DAC46C #82DA6C
monochromatic
#4D29A3 #673BCE #8D6CDA #B39DE6 #D9CEF3
Accessibility & contrast
On white
3.97
#8D6CDA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#8D6CDA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D6CDA
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D6CDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D6CDA | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4281DE
Deuteranopia (green-blind)
#497ED7
Tritanopia (blue-blind)
#7B8299
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #8d6cda; /* rgb */ color: rgb(141, 108, 218); /* oklch */ color: oklch(61.4% 0.162 295.0);
Tailwind
colors: {
custom: {
50: '#b297e6',
500: '#8d6cda',
950: '#000000',
},
}SCSS
$custom: #8d6cda; $custom-light: #b297e6; $custom-dark: #000000;
JSON
{
"hex": "#8d6cda",
"rgb": {
"r": 141,
"g": 108,
"b": 218
},
"hsl": {
"h": 258,
"s": 59.783,
"l": 63.922
},
"oklch": {
"l": 0.61392,
"c": 0.16222,
"h": 295
},
"luminance": 0.2145
}Semantic roles & 50–950 ramp
primary
#8D6CDA
secondary
#D9E4BE
accent
#C71E95
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110D16
muted
#807E84