#9656BF#9656BF
#9656BF is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.2% C 0.165 H 310.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9656BF |
|---|---|
| RGB | rgb(150, 86, 191) |
| HSL | hsl(277, 45%, 54%) |
| HSV | hsv(277, 55%, 75%) |
| CMYK | cmyk(21.5%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(48.14, 45.22, -44.96) |
| CIE-LCH | lch(48.14, 63.76, 315.17°) |
| OKLab | oklab(57.19% 0.1071 -0.1261) |
| OKLCH | oklch(57.19% 0.165 310.3) |
| XYZ | xyz(25.3077, 16.9017, 51.2093) |
| Luminance | 0.1690 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.80
Deep Lavender
#8D5EB7
ΔE00 2.99
Purply
#983FB2
ΔE00 5.72
Lightish Purple
#A552E6
ΔE00 6.19
Royal Purple
#7851A9
ΔE00 6.74
Deep Lilac
#966EBD
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9656BF #7FBF56
analogous
#6256BF #9656BF #BF56B4
triadic
#9656BF #BF9656 #56BF96
tetradic
#9656BF #BF6256 #7FBF56 #56B4BF
square
#9656BF #BF6256 #7FBF56 #56B4BF
split-complementary
#9656BF #B4BF56 #56BF62
monochromatic
#552A70 #773B9D #9656BF #B282D0 #CDAFE1
Accessibility & contrast
On white
4.79
#9656BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#9656BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9656BF
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9656BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9656BF | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#376FC2
Deuteranopia (green-blind)
#4D73BC
Tritanopia (blue-blind)
#916882
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9656bf; /* rgb */ color: rgb(150, 86, 191); /* oklch */ color: oklch(57.2% 0.165 310.3);
Tailwind
colors: {
custom: {
50: '#b788d3',
500: '#9656bf',
950: '#000000',
},
}SCSS
$custom: #9656bf; $custom-light: #b788d3; $custom-dark: #000000;
JSON
{
"hex": "#9656bf",
"rgb": {
"r": 150,
"g": 86,
"b": 191
},
"hsl": {
"h": 276.571,
"s": 45.064,
"l": 54.314
},
"oklch": {
"l": 0.57195,
"c": 0.16539,
"h": 310.3
},
"luminance": 0.16901
}Semantic roles & 50–950 ramp
primary
#9656BF
secondary
#B4CFA2
accent
#D55386
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83