#9A6AF2#9A6AF2
#9A6AF2 is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.8% C 0.196 H 296.7°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9A6AF2 |
|---|---|
| RGB | rgb(154, 106, 242) |
| HSL | hsl(261, 84%, 68%) |
| HSV | hsv(261, 56%, 95%) |
| CMYK | cmyk(36.4%, 56.2%, 0%, 5.1%) |
| CIE-LAB | lab(55.67, 47.74, -61.82) |
| CIE-LCH | lch(55.67, 78.11, 307.68°) |
| OKLab | oklab(63.8% 0.0883 -0.1754) |
| OKLCH | oklch(63.8% 0.196 296.7) |
| XYZ | xyz(34.5034, 23.5883, 86.7224) |
| Luminance | 0.2359 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.82
Lighter Purple
#A55AF4
ΔE00 4.02
Light Urple
#B36FF6
ΔE00 4.79
Mediumslateblue
#7B68EE
ΔE00 5.65
Lightish Purple
#A552E6
ΔE00 6.29
Purpley
#8756E4
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A6AF2 #C2F26A
analogous
#6A7EF2 #9A6AF2 #DE6AF2
triadic
#9A6AF2 #F29A6A #6AF29A
tetradic
#9A6AF2 #F26A7E #C2F26A #6AF2DE
square
#9A6AF2 #F26A7E #C2F26A #6AF2DE
split-complementary
#9A6AF2 #F2DE6A #7EF26A
monochromatic
#5512CF #7432ED #9A6AF2 #C0A2F7 #E6DBFC
Accessibility & contrast
On white
3.67
#9A6AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#9A6AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A6AF2
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A6AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A6AF2 | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2686F7
Deuteranopia (green-blind)
#3984EF
Tritanopia (blue-blind)
#8586A4
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #9a6af2; /* rgb */ color: rgb(154, 106, 242); /* oklch */ color: oklch(63.8% 0.196 296.7);
Tailwind
colors: {
custom: {
50: '#bc96f7',
500: '#9a6af2',
950: '#000000',
},
}SCSS
$custom: #9a6af2; $custom-light: #bc96f7; $custom-dark: #000000;
JSON
{
"hex": "#9a6af2",
"rgb": {
"r": 154,
"g": 106,
"b": 242
},
"hsl": {
"h": 261.176,
"s": 83.951,
"l": 68.235
},
"oklch": {
"l": 0.63796,
"c": 0.19639,
"h": 296.7
},
"luminance": 0.23589
}Semantic roles & 50–950 ramp
primary
#9A6AF2
secondary
#E2F1C7
accent
#E00593
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120D17
muted
#817E85