#9654BF#9654BF
#9654BF is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.9% C 0.169 H 310.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9654BF |
|---|---|
| RGB | rgb(150, 84, 191) |
| HSL | hsl(277, 46%, 54%) |
| HSV | hsv(277, 56%, 75%) |
| CMYK | cmyk(21.5%, 56%, 0%, 25.1%) |
| CIE-LAB | lab(47.74, 46.28, -45.59) |
| CIE-LCH | lch(47.74, 64.97, 315.43°) |
| OKLab | oklab(56.9% 0.1097 -0.1279) |
| OKLCH | oklch(56.9% 0.169 310.6) |
| XYZ | xyz(25.1502, 16.5868, 51.1568) |
| Luminance | 0.1659 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.29
Deep Lavender
#8D5EB7
ΔE00 3.37
Purply
#983FB2
ΔE00 5.26
Lightish Purple
#A552E6
ΔE00 6.21
Royal Purple
#7851A9
ΔE00 6.61
Darkorchid
#9932CC
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9654BF #7DBF54
analogous
#6154BF #9654BF #BF54B3
triadic
#9654BF #BF9654 #54BF96
tetradic
#9654BF #BF6154 #7DBF54 #54B3BF
square
#9654BF #BF6154 #7DBF54 #54B3BF
split-complementary
#9654BF #B3BF54 #54BF61
monochromatic
#542A6F #763A9C #9654BF #B181D0 #CDADE0
Accessibility & contrast
On white
4.86
#9654BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#9654BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9654BF
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9654BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9654BF | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#336EC3
Deuteranopia (green-blind)
#4B72BC
Tritanopia (blue-blind)
#916781
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9654bf; /* rgb */ color: rgb(150, 84, 191); /* oklch */ color: oklch(56.9% 0.169 310.6);
Tailwind
colors: {
custom: {
50: '#b887d3',
500: '#9654bf',
950: '#000000',
},
}SCSS
$custom: #9654bf; $custom-light: #b887d3; $custom-dark: #000000;
JSON
{
"hex": "#9654bf",
"rgb": {
"r": 150,
"g": 84,
"b": 191
},
"hsl": {
"h": 277.009,
"s": 45.532,
"l": 53.922
},
"oklch": {
"l": 0.569,
"c": 0.16852,
"h": 310.6
},
"luminance": 0.16586
}Semantic roles & 50–950 ramp
primary
#9654BF
secondary
#B2CEA1
accent
#D55385
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120B14
muted
#817C83