#9751BC#9751BC
#9751BC is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.4% C 0.170 H 312.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #9751BC |
|---|---|
| RGB | rgb(151, 81, 188) |
| HSL | hsl(279, 44%, 53%) |
| HSV | hsv(279, 57%, 74%) |
| CMYK | cmyk(19.7%, 56.9%, 0%, 26.3%) |
| CIE-LAB | lab(47.10, 47.44, -44.86) |
| CIE-LCH | lch(47.10, 65.29, 316.60°) |
| OKLab | oklab(56.41% 0.1148 -0.1257) |
| OKLCH | oklch(56.41% 0.17 312.4) |
| XYZ | xyz(24.7804, 16.0956, 49.3686) |
| Luminance | 0.1610 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.95
Deep Lavender
#8D5EB7
ΔE00 3.96
Purply
#983FB2
ΔE00 4.35
Medium Purple
#9E43A2
ΔE00 6.10
Darkorchid
#9932CC
ΔE00 6.31
Royal Purple
#7851A9
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9751BC #76BC51
analogous
#6151BC #9751BC #BC51AC
triadic
#9751BC #BC9751 #51BC97
tetradic
#9751BC #BC6151 #76BC51 #51ACBC
square
#9751BC #BC6151 #76BC51 #51ACBC
split-complementary
#9751BC #ACBC51 #51BC61
monochromatic
#53296A #763A96 #9751BC #B17DCD #CCA9DE
Accessibility & contrast
On white
4.98
#9751BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#9751BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9751BC
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9751BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9751BC | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#316CBF
Deuteranopia (green-blind)
#4B71B9
Tritanopia (blue-blind)
#93647F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9751bc; /* rgb */ color: rgb(151, 81, 188); /* oklch */ color: oklch(56.4% 0.170 312.4);
Tailwind
colors: {
custom: {
50: '#b885d1',
500: '#9751bc',
950: '#000000',
},
}SCSS
$custom: #9751bc; $custom-light: #b885d1; $custom-dark: #000000;
JSON
{
"hex": "#9751bc",
"rgb": {
"r": 151,
"g": 81,
"b": 188
},
"hsl": {
"h": 279.252,
"s": 44.398,
"l": 52.745
},
"oklch": {
"l": 0.56407,
"c": 0.17024,
"h": 312.4
},
"luminance": 0.16095
}Semantic roles & 50–950 ramp
primary
#9751BC
secondary
#ADCC9D
accent
#D45480
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82