#9751BF#9751BF
#9751BF is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.6% C 0.174 H 311.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #9751BF |
|---|---|
| RGB | rgb(151, 81, 191) |
| HSL | hsl(278, 46%, 53%) |
| HSV | hsv(278, 58%, 75%) |
| CMYK | cmyk(20.9%, 57.6%, 0%, 25.1%) |
| CIE-LAB | lab(47.27, 48.10, -46.33) |
| CIE-LCH | lch(47.27, 66.78, 316.08°) |
| OKLab | oklab(56.59% 0.1149 -0.13) |
| OKLCH | oklch(56.59% 0.174 311.5) |
| XYZ | xyz(25.1072, 16.2263, 51.0895) |
| Luminance | 0.1623 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.93
Deep Lavender
#8D5EB7
ΔE00 4.03
Purply
#983FB2
ΔE00 4.59
Darkorchid
#9932CC
ΔE00 6.12
Lightish Purple
#A552E6
ΔE00 6.28
Medium Purple
#9E43A2
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9751BF #79BF51
analogous
#6051BF #9751BF #BF51B0
triadic
#9751BF #BF9751 #51BF97
tetradic
#9751BF #BF6051 #79BF51 #51B0BF
square
#9751BF #BF6051 #79BF51 #51B0BF
split-complementary
#9751BF #B0BF51 #51BF60
monochromatic
#54286D #77399A #9751BF #B27ECF #CCAAE0
Accessibility & contrast
On white
4.95
#9751BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#9751BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9751BF
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9751BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9751BF | 1.00 | 4.95 | 4.25 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E6DC3
Deuteranopia (green-blind)
#4972BC
Tritanopia (blue-blind)
#926580
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9751bf; /* rgb */ color: rgb(151, 81, 191); /* oklch */ color: oklch(56.6% 0.174 311.5);
Tailwind
colors: {
custom: {
50: '#b885d3',
500: '#9751bf',
950: '#000000',
},
}SCSS
$custom: #9751bf; $custom-light: #b885d3; $custom-dark: #000000;
JSON
{
"hex": "#9751bf",
"rgb": {
"r": 151,
"g": 81,
"b": 191
},
"hsl": {
"h": 278.182,
"s": 46.218,
"l": 53.333
},
"oklch": {
"l": 0.56586,
"c": 0.17351,
"h": 311.5
},
"luminance": 0.16226
}Semantic roles & 50–950 ramp
primary
#9751BF
secondary
#AFCE9E
accent
#D65282
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83