#9754BF#9754BF
#9754BF is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.0% C 0.169 H 311.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9754BF |
|---|---|
| RGB | rgb(151, 84, 191) |
| HSL | hsl(278, 46%, 54%) |
| HSV | hsv(278, 56%, 75%) |
| CMYK | cmyk(20.9%, 56%, 0%, 25.1%) |
| CIE-LAB | lab(47.86, 46.54, -45.39) |
| CIE-LCH | lch(47.86, 65.01, 315.71°) |
| OKLab | oklab(57.02% 0.111 -0.1273) |
| OKLCH | oklch(57.02% 0.169 311.1) |
| XYZ | xyz(25.3351, 16.6821, 51.1655) |
| Luminance | 0.1668 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.20
Deep Lavender
#8D5EB7
ΔE00 3.44
Purply
#983FB2
ΔE00 5.25
Lightish Purple
#A552E6
ΔE00 6.17
Royal Purple
#7851A9
ΔE00 6.79
Darkorchid
#9932CC
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9754BF #7CBF54
analogous
#6254BF #9754BF #BF54B2
triadic
#9754BF #BF9754 #54BF97
tetradic
#9754BF #BF6254 #7CBF54 #54B2BF
square
#9754BF #BF6254 #7CBF54 #54B2BF
split-complementary
#9754BF #B2BF54 #54BF62
monochromatic
#552A6F #773A9C #9754BF #B281D0 #CDADE0
Accessibility & contrast
On white
4.84
#9754BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#9754BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9754BF
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9754BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9754BF | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#336EC3
Deuteranopia (green-blind)
#4B73BC
Tritanopia (blue-blind)
#926781
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9754bf; /* rgb */ color: rgb(151, 84, 191); /* oklch */ color: oklch(57.0% 0.169 311.1);
Tailwind
colors: {
custom: {
50: '#b887d3',
500: '#9754bf',
950: '#000000',
},
}SCSS
$custom: #9754bf; $custom-light: #b887d3; $custom-dark: #000000;
JSON
{
"hex": "#9754bf",
"rgb": {
"r": 151,
"g": 84,
"b": 191
},
"hsl": {
"h": 277.57,
"s": 45.532,
"l": 53.922
},
"oklch": {
"l": 0.57016,
"c": 0.16887,
"h": 311.1
},
"luminance": 0.16682
}Semantic roles & 50–950 ramp
primary
#9754BF
secondary
#B2CEA1
accent
#D55383
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120B14
muted
#817C83