#9A6BFB#9A6BFB
#9A6BFB is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.5% C 0.206 H 295.0°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9A6BFB |
|---|---|
| RGB | rgb(154, 107, 251) |
| HSL | hsl(260, 95%, 70%) |
| HSV | hsv(260, 57%, 98%) |
| CMYK | cmyk(38.6%, 57.4%, 0%, 1.6%) |
| CIE-LAB | lab(56.44, 49.51, -65.58) |
| CIE-LCH | lch(56.44, 82.17, 307.05°) |
| OKLab | oklab(64.53% 0.0871 -0.1865) |
| OKLCH | oklch(64.53% 0.206 295) |
| XYZ | xyz(35.9921, 24.3497, 94.0517) |
| Luminance | 0.2435 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 4.55
Mediumpurple
#9370DB
ΔE00 4.83
Light Urple
#B36FF6
ΔE00 4.93
Mediumslateblue
#7B68EE
ΔE00 5.72
Periwinkle (survey)
#8E82FE
ΔE00 6.97
Easter Purple
#C071FE
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A6BFB #CCFB6B
analogous
#6B84FB #9A6BFB #E26BFB
triadic
#9A6BFB #FB9A6B #6BFB9A
tetradic
#9A6BFB #FB6B84 #CCFB6B #6BFBE2
square
#9A6BFB #FB6B84 #CCFB6B #6BFBE2
split-complementary
#9A6BFB #FBE26B #84FB6B
monochromatic
#4F06E5 #712FF9 #9A6BFB #C3A7FD #EBE1FE
Accessibility & contrast
On white
3.58
#9A6BFB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#9A6BFB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A6BFB
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A6BFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A6BFB | 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)
#1389FF
Deuteranopia (green-blind)
#2C85F8
Tritanopia (blue-blind)
#828AA9
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9a6bfb; /* rgb */ color: rgb(154, 107, 251); /* oklch */ color: oklch(64.5% 0.206 295.0);
Tailwind
colors: {
custom: {
50: '#bd97fd',
500: '#9a6bfb',
950: '#000000',
},
}SCSS
$custom: #9a6bfb; $custom-light: #bd97fd; $custom-dark: #000000;
JSON
{
"hex": "#9a6bfb",
"rgb": {
"r": 154,
"g": 107,
"b": 251
},
"hsl": {
"h": 259.583,
"s": 94.737,
"l": 70.196
},
"oklch": {
"l": 0.64534,
"c": 0.20582,
"h": 295
},
"luminance": 0.2435
}Semantic roles & 50–950 ramp
primary
#9A6BFB
secondary
#E8F5CD
accent
#E6009B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86