#9651BF#9651BF
#9651BF is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.5% C 0.173 H 311.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #9651BF |
|---|---|
| RGB | rgb(150, 81, 191) |
| HSL | hsl(278, 46%, 53%) |
| HSV | hsv(278, 58%, 75%) |
| CMYK | cmyk(21.5%, 57.6%, 0%, 25.1%) |
| CIE-LAB | lab(47.15, 47.85, -46.53) |
| CIE-LCH | lch(47.15, 66.74, 315.80°) |
| OKLab | oklab(56.47% 0.1136 -0.1306) |
| OKLCH | oklch(56.47% 0.173 311) |
| XYZ | xyz(24.9223, 16.1310, 51.0808) |
| Luminance | 0.1613 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.98
Amethyst
#9B5FC0
ΔE00 4.02
Purply
#983FB2
ΔE00 4.59
Darkorchid
#9932CC
ΔE00 6.07
Lightish Purple
#A552E6
ΔE00 6.33
Royal Purple
#7851A9
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9651BF #7ABF51
analogous
#5F51BF #9651BF #BF51B1
triadic
#9651BF #BF9651 #51BF96
tetradic
#9651BF #BF5F51 #7ABF51 #51B1BF
square
#9651BF #BF5F51 #7ABF51 #51B1BF
split-complementary
#9651BF #B1BF51 #51BF5F
monochromatic
#54286D #76399A #9651BF #B17ECF #CCAAE0
Accessibility & contrast
On white
4.97
#9651BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#9651BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9651BF
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9651BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9651BF | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D6CC3
Deuteranopia (green-blind)
#4871BC
Tritanopia (blue-blind)
#916580
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9651bf; /* rgb */ color: rgb(150, 81, 191); /* oklch */ color: oklch(56.5% 0.173 311.0);
Tailwind
colors: {
custom: {
50: '#b885d3',
500: '#9651bf',
950: '#000000',
},
}SCSS
$custom: #9651bf; $custom-light: #b885d3; $custom-dark: #000000;
JSON
{
"hex": "#9651bf",
"rgb": {
"r": 150,
"g": 81,
"b": 191
},
"hsl": {
"h": 277.636,
"s": 46.218,
"l": 53.333
},
"oklch": {
"l": 0.56469,
"c": 0.17315,
"h": 311
},
"luminance": 0.1613
}Semantic roles & 50–950 ramp
primary
#9651BF
secondary
#B0CE9E
accent
#D65283
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83