#8D6CCF#8D6CCF
#8D6CCF is a mid, vivid violet. Relative luminance 0.209; OKLCH L 60.7% C 0.148 H 297.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8D6CCF |
|---|---|
| RGB | rgb(141, 108, 207) |
| HSL | hsl(260, 51%, 62%) |
| HSV | hsv(260, 48%, 81%) |
| CMYK | cmyk(31.9%, 47.8%, 0%, 18.8%) |
| CIE-LAB | lab(52.83, 34.44, -46.74) |
| CIE-LCH | lch(52.83, 58.05, 306.39°) |
| OKLab | oklab(60.74% 0.0675 -0.1316) |
| OKLCH | oklch(60.74% 0.148 297.2) |
| XYZ | xyz(27.6068, 20.8925, 61.5976) |
| Luminance | 0.2089 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.35
Deep Lilac
#966EBD
ΔE00 4.68
Amethyst
#9B5FC0
ΔE00 5.95
Deep Lavender
#8D5EB7
ΔE00 6.03
Mediumslateblue
#7B68EE
ΔE00 6.42
Purpley
#8756E4
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D6CCF #AECF6C
analogous
#6C7DCF #8D6CCF #BF6CCF
triadic
#8D6CCF #CF8D6C #6CCF8D
tetradic
#8D6CCF #CF6C7D #AECF6C #6CCFBF
square
#8D6CCF #CF6C7D #AECF6C #6CCFBF
split-complementary
#8D6CCF #CFBF6C #7DCF6C
monochromatic
#502F91 #693EBF #8D6CCF #B19ADE #D5C8ED
Accessibility & contrast
On white
4.06
#8D6CCF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#8D6CCF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D6CCF
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D6CCF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D6CCF | 1.00 | 4.06 | 5.18 | 5.18 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B7ED3
Deuteranopia (green-blind)
#527DCD
Tritanopia (blue-blind)
#7F7F94
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8d6ccf; /* rgb */ color: rgb(141, 108, 207); /* oklch */ color: oklch(60.7% 0.148 297.2);
Tailwind
colors: {
custom: {
50: '#b197de',
500: '#8d6ccf',
950: '#000000',
},
}SCSS
$custom: #8d6ccf; $custom-light: #b197de; $custom-dark: #000000;
JSON
{
"hex": "#8d6ccf",
"rgb": {
"r": 141,
"g": 108,
"b": 207
},
"hsl": {
"h": 260,
"s": 50.769,
"l": 61.765
},
"oklch": {
"l": 0.60743,
"c": 0.14789,
"h": 297.2
},
"luminance": 0.20893
}Semantic roles & 50–950 ramp
primary
#8D6CCF
secondary
#D2DEB9
accent
#BE278C
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83