#8D78F5#8D78F5
#8D78F5 is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.1% C 0.180 H 288.1°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8D78F5 |
|---|---|
| RGB | rgb(141, 120, 245) |
| HSL | hsl(250, 86%, 72%) |
| HSV | hsv(250, 51%, 96%) |
| CMYK | cmyk(42.4%, 51%, 0%, 3.9%) |
| CIE-LAB | lab(57.74, 37.71, -60.23) |
| CIE-LCH | lch(57.74, 71.06, 302.05°) |
| OKLab | oklab(65.1% 0.0558 -0.1711) |
| OKLCH | oklch(65.1% 0.18 288.1) |
| XYZ | xyz(34.1778, 25.6870, 89.5258) |
| Luminance | 0.2569 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.13
Lavender Blue
#8B88F8
ΔE00 4.91
Mediumpurple
#9370DB
ΔE00 5.06
Mediumslateblue
#7B68EE
ΔE00 5.47
Cornflower
#6A79F7
ΔE00 6.36
Perrywinkle
#8F8CE7
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D78F5 #E0F578
analogous
#78A2F5 #8D78F5 #CC78F5
triadic
#8D78F5 #F58D78 #78F58D
tetradic
#8D78F5 #F578A2 #E0F578 #78F5CC
square
#8D78F5 #F578A2 #E0F578 #78F5CC
split-complementary
#8D78F5 #F5CC78 #A2F578
monochromatic
#3411E2 #5D3FF1 #8D78F5 #BDB1F9 #E7E3FD
Accessibility & contrast
On white
3.42
#8D78F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#8D78F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D78F5
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D78F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D78F5 | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#408EF9
Deuteranopia (green-blind)
#4087F2
Tritanopia (blue-blind)
#6E92AB
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #8d78f5; /* rgb */ color: rgb(141, 120, 245); /* oklch */ color: oklch(65.1% 0.180 288.1);
Tailwind
colors: {
custom: {
50: '#b49ff9',
500: '#8d78f5',
950: '#000000',
},
}SCSS
$custom: #8d78f5; $custom-light: #b49ff9; $custom-dark: #000000;
JSON
{
"hex": "#8d78f5",
"rgb": {
"r": 141,
"g": 120,
"b": 245
},
"hsl": {
"h": 250.08,
"s": 86.207,
"l": 71.569
},
"oklch": {
"l": 0.65101,
"c": 0.17996,
"h": 288.1
},
"luminance": 0.25688
}Semantic roles & 50–950 ramp
primary
#8D78F5
secondary
#EFF4D4
accent
#E303BD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85