#9B6CF5#9B6CF5
#9B6CF5 is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.4% C 0.197 H 296.2°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9B6CF5 |
|---|---|
| RGB | rgb(155, 108, 245) |
| HSL | hsl(261, 87%, 69%) |
| HSV | hsv(261, 56%, 96%) |
| CMYK | cmyk(36.7%, 55.9%, 0%, 3.9%) |
| CIE-LAB | lab(56.37, 47.65, -62.35) |
| CIE-LCH | lch(56.37, 78.47, 307.38°) |
| OKLab | oklab(64.39% 0.0872 -0.1769) |
| OKLCH | oklch(64.39% 0.197 296.2) |
| XYZ | xyz(35.3573, 24.2856, 89.1933) |
| Luminance | 0.2429 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.05
Lighter Purple
#A55AF4
ΔE00 4.47
Light Urple
#B36FF6
ΔE00 4.53
Mediumslateblue
#7B68EE
ΔE00 5.88
Easter Purple
#C071FE
ΔE00 6.76
Lightish Purple
#A552E6
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B6CF5 #C6F56C
analogous
#6C82F5 #9B6CF5 #E06CF5
triadic
#9B6CF5 #F59B6C #6CF59B
tetradic
#9B6CF5 #F56C82 #C6F56C #6CF5E0
square
#9B6CF5 #F56C82 #C6F56C #6CF5E0
split-complementary
#9B6CF5 #F5E06C #82F56C
monochromatic
#540FD8 #7433F1 #9B6CF5 #C2A5F9 #E9DFFD
Accessibility & contrast
On white
3.59
#9B6CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#9B6CF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B6CF5
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B6CF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B6CF5 | 1.00 | 3.59 | 5.86 | 5.86 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2788FA
Deuteranopia (green-blind)
#3985F2
Tritanopia (blue-blind)
#8689A6
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9b6cf5; /* rgb */ color: rgb(155, 108, 245); /* oklch */ color: oklch(64.4% 0.197 296.2);
Tailwind
colors: {
custom: {
50: '#bd98f9',
500: '#9b6cf5',
950: '#000000',
},
}SCSS
$custom: #9b6cf5; $custom-light: #bd98f9; $custom-dark: #000000;
JSON
{
"hex": "#9b6cf5",
"rgb": {
"r": 155,
"g": 108,
"b": 245
},
"hsl": {
"h": 260.584,
"s": 87.261,
"l": 69.216
},
"oklch": {
"l": 0.64392,
"c": 0.19728,
"h": 296.2
},
"luminance": 0.24286
}Semantic roles & 50–950 ramp
primary
#9B6CF5
secondary
#E5F2CA
accent
#E40296
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E17
muted
#817E85