#9251BB#9251BB
#9251BB is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.8% C 0.167 H 310.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9251BB |
|---|---|
| RGB | rgb(146, 81, 187) |
| HSL | hsl(277, 44%, 53%) |
| HSV | hsv(277, 57%, 73%) |
| CMYK | cmyk(21.9%, 56.7%, 0%, 26.7%) |
| CIE-LAB | lab(46.42, 45.92, -45.39) |
| CIE-LCH | lch(46.42, 64.57, 315.34°) |
| OKLab | oklab(55.76% 0.1084 -0.1274) |
| OKLCH | oklch(55.76% 0.167 310.4) |
| XYZ | xyz(23.7644, 15.5842, 48.7602) |
| Luminance | 0.1558 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.73
Purply
#983FB2
ΔE00 4.39
Amethyst
#9B5FC0
ΔE00 4.44
Royal Purple
#7851A9
ΔE00 5.61
Darkorchid
#9932CC
ΔE00 6.19
Medium Purple
#9E43A2
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9251BB #7ABB51
analogous
#5D51BB #9251BB #BB51AF
triadic
#9251BB #BB9251 #51BB92
tetradic
#9251BB #BB5D51 #7ABB51 #51AFBB
square
#9251BB #BB5D51 #7ABB51 #51AFBB
split-complementary
#9251BB #AFBB51 #51BB5D
monochromatic
#502969 #723A95 #9251BB #AE7DCC #C9A9DD
Accessibility & contrast
On white
5.10
#9251BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#9251BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9251BB
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9251BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9251BB | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F6BBE
Deuteranopia (green-blind)
#476FB8
Tritanopia (blue-blind)
#8D647E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9251bb; /* rgb */ color: rgb(146, 81, 187); /* oklch */ color: oklch(55.8% 0.167 310.4);
Tailwind
colors: {
custom: {
50: '#b585d0',
500: '#9251bb',
950: '#000000',
},
}SCSS
$custom: #9251bb; $custom-light: #b585d0; $custom-dark: #000000;
JSON
{
"hex": "#9251bb",
"rgb": {
"r": 146,
"g": 81,
"b": 187
},
"hsl": {
"h": 276.792,
"s": 43.802,
"l": 52.549
},
"oklch": {
"l": 0.55759,
"c": 0.16729,
"h": 310.4
},
"luminance": 0.15584
}Semantic roles & 50–950 ramp
primary
#9251BB
secondary
#AFCB9D
accent
#D45485
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82