#8A6FF3#8A6FF3
#8A6FF3 is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.2% C 0.190 H 289.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #8A6FF3 |
|---|---|
| RGB | rgb(138, 111, 243) |
| HSL | hsl(252, 85%, 69%) |
| HSV | hsv(252, 54%, 95%) |
| CMYK | cmyk(43.2%, 54.3%, 0%, 4.7%) |
| CIE-LAB | lab(55.32, 41.64, -63.02) |
| CIE-LCH | lch(55.32, 75.53, 303.46°) |
| OKLab | oklab(63.2% 0.0625 -0.1794) |
| OKLCH | oklch(63.2% 0.19 289.2) |
| XYZ | xyz(32.3388, 23.2421, 87.5589) |
| Luminance | 0.2324 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.31
Mediumpurple
#9370DB
ΔE00 4.35
Periwinkle (survey)
#8E82FE
ΔE00 5.62
Lighter Purple
#A55AF4
ΔE00 6.93
Cornflower
#6A79F7
ΔE00 6.94
Lavender Blue
#8B88F8
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A6FF3 #D8F36F
analogous
#6F96F3 #8A6FF3 #CC6FF3
triadic
#8A6FF3 #F38A6F #6FF38A
tetradic
#8A6FF3 #F36F96 #D8F36F #6FF3CC
square
#8A6FF3 #F36F96 #D8F36F #6FF3CC
split-complementary
#8A6FF3 #F3CC6F #96F36F
monochromatic
#3A12D6 #5C37EE #8A6FF3 #B8A7F8 #E6E0FC
Accessibility & contrast
On white
3.72
#8A6FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#8A6FF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A6FF3
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A6FF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A6FF3 | 1.00 | 3.72 | 5.65 | 5.65 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2987F7
Deuteranopia (green-blind)
#2D81F0
Tritanopia (blue-blind)
#6B8CA6
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8a6ff3; /* rgb */ color: rgb(138, 111, 243); /* oklch */ color: oklch(63.2% 0.190 289.2);
Tailwind
colors: {
custom: {
50: '#b299f8',
500: '#8a6ff3',
950: '#000000',
},
}SCSS
$custom: #8a6ff3; $custom-light: #b299f8; $custom-dark: #000000;
JSON
{
"hex": "#8a6ff3",
"rgb": {
"r": 138,
"g": 111,
"b": 243
},
"hsl": {
"h": 252.273,
"s": 84.615,
"l": 69.412
},
"oklch": {
"l": 0.63202,
"c": 0.18998,
"h": 289.2
},
"luminance": 0.23243
}Semantic roles & 50–950 ramp
primary
#8A6FF3
secondary
#EAF2CC
accent
#E104B4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85