#9C6AF2#9C6AF2
#9C6AF2 is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.0% C 0.197 H 297.5°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #9C6AF2 |
|---|---|
| RGB | rgb(156, 106, 242) |
| HSL | hsl(262, 84%, 68%) |
| HSV | hsv(262, 56%, 95%) |
| CMYK | cmyk(35.5%, 56.2%, 0%, 5.1%) |
| CIE-LAB | lab(55.87, 48.20, -61.48) |
| CIE-LCH | lch(55.87, 78.12, 308.09°) |
| OKLab | oklab(63.99% 0.0909 -0.1744) |
| OKLCH | oklch(63.99% 0.197 297.5) |
| XYZ | xyz(34.8873, 23.7863, 86.7404) |
| Luminance | 0.2379 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.87
Mediumpurple
#9370DB
ΔE00 3.90
Light Urple
#B36FF6
ΔE00 4.44
Mediumslateblue
#7B68EE
ΔE00 6.02
Lightish Purple
#A552E6
ΔE00 6.18
Easter Purple
#C071FE
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C6AF2 #C0F26A
analogous
#6A7CF2 #9C6AF2 #E06AF2
triadic
#9C6AF2 #F29C6A #6AF29C
tetradic
#9C6AF2 #F26A7C #C0F26A #6AF2E0
square
#9C6AF2 #F26A7C #C0F26A #6AF2E0
split-complementary
#9C6AF2 #F2E06A #7CF26A
monochromatic
#5812CF #7732ED #9C6AF2 #C1A2F7 #E7DBFC
Accessibility & contrast
On white
3.65
#9C6AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.76
#9C6AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C6AF2
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C6AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C6AF2 | 1.00 | 3.65 | 5.76 | 5.76 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2786F7
Deuteranopia (green-blind)
#3B84EF
Tritanopia (blue-blind)
#8886A4
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #9c6af2; /* rgb */ color: rgb(156, 106, 242); /* oklch */ color: oklch(64.0% 0.197 297.5);
Tailwind
colors: {
custom: {
50: '#be96f7',
500: '#9c6af2',
950: '#000000',
},
}SCSS
$custom: #9c6af2; $custom-light: #be96f7; $custom-dark: #000000;
JSON
{
"hex": "#9c6af2",
"rgb": {
"r": 156,
"g": 106,
"b": 242
},
"hsl": {
"h": 262.059,
"s": 83.951,
"l": 68.235
},
"oklch": {
"l": 0.63989,
"c": 0.19662,
"h": 297.5
},
"luminance": 0.23787
}Semantic roles & 50–950 ramp
primary
#9C6AF2
secondary
#E1F1C7
accent
#E00590
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85