#9757BF#9757BF
#9757BF is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.5% C 0.164 H 310.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9757BF |
|---|---|
| RGB | rgb(151, 87, 191) |
| HSL | hsl(277, 45%, 55%) |
| HSV | hsv(277, 54%, 75%) |
| CMYK | cmyk(20.9%, 54.5%, 0%, 25.1%) |
| CIE-LAB | lab(48.46, 44.95, -44.44) |
| CIE-LCH | lch(48.46, 63.21, 315.33°) |
| OKLab | oklab(57.46% 0.107 -0.1245) |
| OKLCH | oklch(57.46% 0.164 310.7) |
| XYZ | xyz(25.5729, 17.1578, 51.2447) |
| Luminance | 0.1716 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.45
Deep Lavender
#8D5EB7
ΔE00 2.91
Purply
#983FB2
ΔE00 5.96
Lightish Purple
#A552E6
ΔE00 6.16
Deep Lilac
#966EBD
ΔE00 6.83
Mediumorchid
#BA55D3
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9757BF #7FBF57
analogous
#6357BF #9757BF #BF57B3
triadic
#9757BF #BF9757 #57BF97
tetradic
#9757BF #BF6357 #7FBF57 #57B3BF
square
#9757BF #BF6357 #7FBF57 #57B3BF
split-complementary
#9757BF #B3BF57 #57BF63
monochromatic
#562B71 #783C9D #9757BF #B283D0 #CEB0E1
Accessibility & contrast
On white
4.74
#9757BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#9757BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9757BF
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9757BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9757BF | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3970C2
Deuteranopia (green-blind)
#4E74BC
Tritanopia (blue-blind)
#926983
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9757bf; /* rgb */ color: rgb(151, 87, 191); /* oklch */ color: oklch(57.5% 0.164 310.7);
Tailwind
colors: {
custom: {
50: '#b889d3',
500: '#9757bf',
950: '#000000',
},
}SCSS
$custom: #9757bf; $custom-light: #b889d3; $custom-dark: #000000;
JSON
{
"hex": "#9757bf",
"rgb": {
"r": 151,
"g": 87,
"b": 191
},
"hsl": {
"h": 276.923,
"s": 44.828,
"l": 54.51
},
"oklch": {
"l": 0.57458,
"c": 0.16416,
"h": 310.7
},
"luminance": 0.17157
}Semantic roles & 50–950 ramp
primary
#9757BF
secondary
#B4CFA3
accent
#D55385
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83