#8D78CD#8D78CD
#8D78CD is a light, vivid violet. Relative luminance 0.235; OKLCH L 62.8% C 0.126 H 293.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8D78CD |
|---|---|
| RGB | rgb(141, 120, 205) |
| HSL | hsl(255, 46%, 64%) |
| HSV | hsv(255, 41%, 80%) |
| CMYK | cmyk(31.2%, 41.5%, 0%, 19.6%) |
| CIE-LAB | lab(55.59, 26.95, -41.24) |
| CIE-LCH | lch(55.59, 49.26, 303.16°) |
| OKLab | oklab(62.78% 0.051 -0.1156) |
| OKLCH | oklch(62.78% 0.126 293.8) |
| XYZ | xyz(28.7177, 23.5030, 60.7693) |
| Luminance | 0.2350 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.79
Deep Lilac
#966EBD
ΔE00 5.38
Perrywinkle
#8F8CE7
ΔE00 7.36
Wisteria
#A87DC2
ΔE00 7.75
Periwinkle (survey)
#8E82FE
ΔE00 8.16
Mediumslateblue
#7B68EE
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D78CD #B8CD78
analogous
#788DCD #8D78CD #B778CD
triadic
#8D78CD #CD8D78 #78CD8D
tetradic
#8D78CD #CD788D #B8CD78 #78CDB7
square
#8D78CD #CD788D #B8CD78 #78CDB7
split-complementary
#8D78CD #CDB778 #8DCD78
monochromatic
#4E3794 #674BBC #8D78CD #B3A5DE #D8D1EE
Accessibility & contrast
On white
3.68
#8D78CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.70
#8D78CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D78CD
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D78CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D78CD | 1.00 | 3.68 | 5.70 | 5.70 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F86D0
Deuteranopia (green-blind)
#6184CB
Tritanopia (blue-blind)
#7F8799
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8d78cd; /* rgb */ color: rgb(141, 120, 205); /* oklch */ color: oklch(62.8% 0.126 293.8);
Tailwind
colors: {
custom: {
50: '#b09fdc',
500: '#8d78cd',
950: '#000000',
},
}SCSS
$custom: #8d78cd; $custom-light: #b09fdc; $custom-dark: #000000;
JSON
{
"hex": "#8d78cd",
"rgb": {
"r": 141,
"g": 120,
"b": 205
},
"hsl": {
"h": 254.824,
"s": 45.946,
"l": 63.725
},
"oklch": {
"l": 0.62784,
"c": 0.12631,
"h": 293.8
},
"luminance": 0.23503
}Semantic roles & 50–950 ramp
primary
#8D78CD
secondary
#D8DFC1
accent
#B92C96
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83