#8A6DF2#8A6DF2
#8A6DF2 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.8% C 0.191 H 289.8°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #8A6DF2 |
|---|---|
| RGB | rgb(138, 109, 242) |
| HSL | hsl(253, 84%, 69%) |
| HSV | hsv(253, 55%, 95%) |
| CMYK | cmyk(43%, 55%, 0%, 5.1%) |
| CIE-LAB | lab(54.81, 42.50, -63.28) |
| CIE-LCH | lch(54.81, 76.23, 303.89°) |
| OKLab | oklab(62.81% 0.0648 -0.1802) |
| OKLCH | oklch(62.81% 0.191 289.8) |
| XYZ | xyz(31.9724, 22.7503, 86.6938) |
| Luminance | 0.2275 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.01
Mediumpurple
#9370DB
ΔE00 4.26
Periwinkle (survey)
#8E82FE
ΔE00 6.21
Lighter Purple
#A55AF4
ΔE00 6.51
Purpley
#8756E4
ΔE00 6.83
Cornflower
#6A79F7
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A6DF2 #D5F26D
analogous
#6D93F2 #8A6DF2 #CD6DF2
triadic
#8A6DF2 #F28A6D #6DF28A
tetradic
#8A6DF2 #F26D93 #D5F26D #6DF2CD
square
#8A6DF2 #F26D93 #D5F26D #6DF2CD
split-complementary
#8A6DF2 #F2CD6D #93F26D
monochromatic
#3C13D2 #5D35ED #8A6DF2 #B7A5F7 #E4DDFC
Accessibility & contrast
On white
3.78
#8A6DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#8A6DF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A6DF2
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A6DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A6DF2 | 1.00 | 3.78 | 5.55 | 5.55 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2486F6
Deuteranopia (green-blind)
#2980EF
Tritanopia (blue-blind)
#6C8AA5
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8a6df2; /* rgb */ color: rgb(138, 109, 242); /* oklch */ color: oklch(62.8% 0.191 289.8);
Tailwind
colors: {
custom: {
50: '#b297f7',
500: '#8a6df2',
950: '#000000',
},
}SCSS
$custom: #8a6df2; $custom-light: #b297f7; $custom-dark: #000000;
JSON
{
"hex": "#8a6df2",
"rgb": {
"r": 138,
"g": 109,
"b": 242
},
"hsl": {
"h": 253.083,
"s": 83.648,
"l": 68.824
},
"oklch": {
"l": 0.62807,
"c": 0.19146,
"h": 289.8
},
"luminance": 0.22751
}Semantic roles & 50–950 ramp
primary
#8A6DF2
secondary
#E8F1CA
accent
#E005B0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85