#9A6EF8#9A6EF8
#9A6EF8 is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.8% C 0.198 H 295.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9A6EF8 |
|---|---|
| RGB | rgb(154, 110, 248) |
| HSL | hsl(259, 91%, 70%) |
| HSV | hsv(259, 56%, 97%) |
| CMYK | cmyk(37.9%, 55.6%, 0%, 2.7%) |
| CIE-LAB | lab(56.88, 47.10, -63.21) |
| CIE-LCH | lch(56.88, 78.83, 306.69°) |
| OKLab | oklab(64.8% 0.0837 -0.1795) |
| OKLCH | oklch(64.8% 0.198 295) |
| XYZ | xyz(35.8412, 24.7985, 91.6870) |
| Luminance | 0.2480 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.33
Light Urple
#B36FF6
ΔE00 4.73
Lighter Purple
#A55AF4
ΔE00 5.11
Mediumslateblue
#7B68EE
ΔE00 5.84
Periwinkle (survey)
#8E82FE
ΔE00 6.38
Easter Purple
#C071FE
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A6EF8 #CCF86E
analogous
#6E87F8 #9A6EF8 #DF6EF8
triadic
#9A6EF8 #F89A6E #6EF89A
tetradic
#9A6EF8 #F86E87 #CCF86E #6EF8DF
square
#9A6EF8 #F86E87 #CCF86E #6EF8DF
split-complementary
#9A6EF8 #F8DF6E #87F86E
monochromatic
#4F0BE1 #7134F5 #9A6EF8 #C3A8FB #EBE2FE
Accessibility & contrast
On white
3.52
#9A6EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.96
#9A6EF8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A6EF8
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A6EF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A6EF8 | 1.00 | 3.52 | 5.96 | 5.96 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#288AFD
Deuteranopia (green-blind)
#3886F5
Tritanopia (blue-blind)
#838BA9
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #9a6ef8; /* rgb */ color: rgb(154, 110, 248); /* oklch */ color: oklch(64.8% 0.198 295.0);
Tailwind
colors: {
custom: {
50: '#bd99fb',
500: '#9a6ef8',
950: '#000000',
},
}SCSS
$custom: #9a6ef8; $custom-light: #bd99fb; $custom-dark: #000000;
JSON
{
"hex": "#9a6ef8",
"rgb": {
"r": 154,
"g": 110,
"b": 248
},
"hsl": {
"h": 259.13,
"s": 90.789,
"l": 70.196
},
"oklch": {
"l": 0.648,
"c": 0.19803,
"h": 295
},
"luminance": 0.24799
}Semantic roles & 50–950 ramp
primary
#9A6EF8
secondary
#E8F4CE
accent
#E6009C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E17
muted
#817E85