#8A6CFF#8A6CFF
#8A6CFF is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 63.5% C 0.209 H 288.4°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #8A6CFF |
|---|---|
| RGB | rgb(138, 108, 255) |
| HSL | hsl(252, 100%, 71%) |
| HSV | hsv(252, 58%, 100%) |
| CMYK | cmyk(45.9%, 57.6%, 0%, 0%) |
| CIE-LAB | lab(55.43, 46.67, -69.49) |
| CIE-LCH | lch(55.43, 83.71, 303.88°) |
| OKLab | oklab(63.53% 0.0659 -0.1984) |
| OKLCH | oklch(63.53% 0.209 288.4) |
| XYZ | xyz(33.8886, 23.3470, 97.3092) |
| Luminance | 0.2335 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.60
Mediumpurple
#9370DB
ΔE00 5.81
Periwinkle (survey)
#8E82FE
ΔE00 6.10
Lighter Purple
#A55AF4
ΔE00 6.64
Cornflower
#6A79F7
ΔE00 7.23
Purpley
#8756E4
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A6CFF #E1FF6C
analogous
#6C97FF #8A6CFF #D36CFF
triadic
#8A6CFF #FF8A6C #6CFF8A
tetradic
#8A6CFF #FF6C97 #E1FF6C #6CFFD3
square
#8A6CFF #FF6C97 #E1FF6C #6CFFD3
split-complementary
#8A6CFF #FFD36C #97FF6C
monochromatic
#3100F1 #592FFF #8A6CFF #BBA9FF #E7E0FF
Accessibility & contrast
On white
3.70
#8A6CFF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.67
#8A6CFF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A6CFF
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A6CFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A6CFF | 1.00 | 3.70 | 5.67 | 5.67 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#0081FC
Tritanopia (blue-blind)
#658DAB
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8a6cff; /* rgb */ color: rgb(138, 108, 255); /* oklch */ color: oklch(63.5% 0.209 288.4);
Tailwind
colors: {
custom: {
50: '#b397ff',
500: '#8a6cff',
950: '#000000',
},
}SCSS
$custom: #8a6cff; $custom-light: #b397ff; $custom-dark: #000000;
JSON
{
"hex": "#8a6cff",
"rgb": {
"r": 138,
"g": 108,
"b": 255
},
"hsl": {
"h": 252.245,
"s": 100,
"l": 71.176
},
"oklch": {
"l": 0.63525,
"c": 0.2091,
"h": 288.4
},
"luminance": 0.23348
}Semantic roles & 50–950 ramp
primary
#8A6CFF
secondary
#EFF7D0
accent
#E600B7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D18
muted
#817E86