#9B6CF6#9B6CF6
#9B6CF6 is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.5% C 0.199 H 296.1°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9B6CF6 |
|---|---|
| RGB | rgb(155, 108, 246) |
| HSL | hsl(260, 88%, 69%) |
| HSV | hsv(260, 56%, 96%) |
| CMYK | cmyk(37%, 56.1%, 0%, 3.5%) |
| CIE-LAB | lab(56.43, 47.90, -62.81) |
| CIE-LCH | lch(56.43, 78.99, 307.33°) |
| OKLab | oklab(64.46% 0.0872 -0.1783) |
| OKLCH | oklch(64.46% 0.199 296.1) |
| XYZ | xyz(35.5104, 24.3469, 89.9994) |
| Luminance | 0.2435 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.18
Lighter Purple
#A55AF4
ΔE00 4.50
Light Urple
#B36FF6
ΔE00 4.55
Mediumslateblue
#7B68EE
ΔE00 5.88
Easter Purple
#C071FE
ΔE00 6.76
Lightish Purple
#A552E6
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B6CF6 #C7F66C
analogous
#6C82F6 #9B6CF6 #E06CF6
triadic
#9B6CF6 #F69B6C #6CF69B
tetradic
#9B6CF6 #F66C82 #C7F66C #6CF6E0
square
#9B6CF6 #F66C82 #C7F66C #6CF6E0
split-complementary
#9B6CF6 #F6E06C #82F66C
monochromatic
#530DDA #7432F2 #9B6CF6 #C2A6FA #E9DFFD
Accessibility & contrast
On white
3.58
#9B6CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#9B6CF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B6CF6
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B6CF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B6CF6 | 1.00 | 3.58 | 5.87 | 5.87 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2688FB
Deuteranopia (green-blind)
#3885F3
Tritanopia (blue-blind)
#8589A7
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9b6cf6; /* rgb */ color: rgb(155, 108, 246); /* oklch */ color: oklch(64.5% 0.199 296.1);
Tailwind
colors: {
custom: {
50: '#bd98fa',
500: '#9b6cf6',
950: '#000000',
},
}SCSS
$custom: #9b6cf6; $custom-light: #bd98fa; $custom-dark: #000000;
JSON
{
"hex": "#9b6cf6",
"rgb": {
"r": 155,
"g": 108,
"b": 246
},
"hsl": {
"h": 260.435,
"s": 88.462,
"l": 69.412
},
"oklch": {
"l": 0.64456,
"c": 0.1985,
"h": 296.1
},
"luminance": 0.24348
}Semantic roles & 50–950 ramp
primary
#9B6CF6
secondary
#E5F3CB
accent
#E50097
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85