#8A6BF3#8A6BF3
#8A6BF3 is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.5% C 0.195 H 290.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #8A6BF3 |
|---|---|
| RGB | rgb(138, 107, 243) |
| HSL | hsl(254, 85%, 69%) |
| HSV | hsv(254, 56%, 95%) |
| CMYK | cmyk(43.2%, 56%, 0%, 4.7%) |
| CIE-LAB | lab(54.44, 43.91, -64.44) |
| CIE-LCH | lch(54.44, 77.98, 304.27°) |
| OKLab | oklab(62.55% 0.0671 -0.1836) |
| OKLCH | oklch(62.55% 0.195 290.1) |
| XYZ | xyz(31.9121, 22.3886, 87.4167) |
| Luminance | 0.2239 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.84
Mediumpurple
#9370DB
ΔE00 4.47
Lighter Purple
#A55AF4
ΔE00 6.13
Purpley
#8756E4
ΔE00 6.35
Periwinkle (survey)
#8E82FE
ΔE00 6.71
Light Urple
#B36FF6
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A6BF3 #D4F36B
analogous
#6B90F3 #8A6BF3 #CE6BF3
triadic
#8A6BF3 #F38A6B #6BF38A
tetradic
#8A6BF3 #F36B90 #D4F36B #6BF3CE
square
#8A6BF3 #F36B90 #D4F36B #6BF3CE
split-complementary
#8A6BF3 #F3CE6B #90F36B
monochromatic
#3D11D3 #5D32EE #8A6BF3 #B7A4F8 #E4DCFC
Accessibility & contrast
On white
3.83
#8A6BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#8A6BF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A6BF3
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A6BF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A6BF3 | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1985F8
Deuteranopia (green-blind)
#217FF0
Tritanopia (blue-blind)
#6B89A5
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8a6bf3; /* rgb */ color: rgb(138, 107, 243); /* oklch */ color: oklch(62.5% 0.195 290.1);
Tailwind
colors: {
custom: {
50: '#b296f8',
500: '#8a6bf3',
950: '#000000',
},
}SCSS
$custom: #8a6bf3; $custom-light: #b296f8; $custom-dark: #000000;
JSON
{
"hex": "#8a6bf3",
"rgb": {
"r": 138,
"g": 107,
"b": 243
},
"hsl": {
"h": 253.676,
"s": 85,
"l": 68.627
},
"oklch": {
"l": 0.62548,
"c": 0.19546,
"h": 290.1
},
"luminance": 0.2239
}Semantic roles & 50–950 ramp
primary
#8A6BF3
secondary
#E8F1C9
accent
#E104AF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85