#8D6EF8#8D6EF8
#8D6EF8 is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.6% C 0.198 H 290.0°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8D6EF8 |
|---|---|
| RGB | rgb(141, 110, 248) |
| HSL | hsl(253, 91%, 70%) |
| HSV | hsv(253, 56%, 97%) |
| CMYK | cmyk(43.1%, 55.6%, 0%, 2.7%) |
| CIE-LAB | lab(55.68, 44.24, -65.21) |
| CIE-LCH | lch(55.68, 78.80, 304.15°) |
| OKLab | oklab(63.63% 0.0675 -0.1857) |
| OKLCH | oklch(63.63% 0.198 290) |
| XYZ | xyz(33.4990, 23.5907, 91.5772) |
| Luminance | 0.2359 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.77
Mediumpurple
#9370DB
ΔE00 4.71
Periwinkle (survey)
#8E82FE
ΔE00 5.73
Lighter Purple
#A55AF4
ΔE00 6.43
Light Urple
#B36FF6
ΔE00 7.09
Cornflower
#6A79F7
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D6EF8 #D9F86E
analogous
#6E94F8 #8D6EF8 #D26EF8
triadic
#8D6EF8 #F88D6E #6EF88D
tetradic
#8D6EF8 #F86E94 #D9F86E #6EF8D2
square
#8D6EF8 #F86E94 #D9F86E #6EF8D2
split-complementary
#8D6EF8 #F8D26E #94F86E
monochromatic
#3B0BE1 #5F34F5 #8D6EF8 #BBA8FB #E8E2FE
Accessibility & contrast
On white
3.67
#8D6EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#8D6EF8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D6EF8
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D6EF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D6EF8 | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D88FD
Deuteranopia (green-blind)
#2482F5
Tritanopia (blue-blind)
#6E8CA9
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8d6ef8; /* rgb */ color: rgb(141, 110, 248); /* oklch */ color: oklch(63.6% 0.198 290.0);
Tailwind
colors: {
custom: {
50: '#b498fb',
500: '#8d6ef8',
950: '#000000',
},
}SCSS
$custom: #8d6ef8; $custom-light: #b498fb; $custom-dark: #000000;
JSON
{
"hex": "#8d6ef8",
"rgb": {
"r": 141,
"g": 110,
"b": 248
},
"hsl": {
"h": 253.478,
"s": 90.789,
"l": 70.196
},
"oklch": {
"l": 0.63627,
"c": 0.19762,
"h": 290
},
"luminance": 0.23592
}Semantic roles & 50–950 ramp
primary
#8D6EF8
secondary
#EBF4CE
accent
#E600B2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85