#9151BE#9151BE
#9151BE is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.8% C 0.170 H 309.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9151BE |
|---|---|
| RGB | rgb(145, 81, 190) |
| HSL | hsl(275, 46%, 53%) |
| HSV | hsv(275, 57%, 75%) |
| CMYK | cmyk(23.7%, 57.4%, 0%, 25.5%) |
| CIE-LAB | lab(46.48, 46.35, -47.06) |
| CIE-LCH | lch(46.48, 66.05, 314.57°) |
| OKLab | oklab(55.83% 0.1072 -0.1323) |
| OKLCH | oklch(55.83% 0.17 309) |
| XYZ | xyz(23.9119, 15.6227, 50.4610) |
| Luminance | 0.1562 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.83
Amethyst
#9B5FC0
ΔE00 4.56
Purply
#983FB2
ΔE00 4.70
Royal Purple
#7851A9
ΔE00 5.60
Darkorchid
#9932CC
ΔE00 6.00
Lightish Purple
#A552E6
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9151BE #7EBE51
analogous
#5A51BE #9151BE #BE51B5
triadic
#9151BE #BE9151 #51BE91
tetradic
#9151BE #BE5A51 #7EBE51 #51B5BE
square
#9151BE #BE5A51 #7EBE51 #51B5BE
split-complementary
#9151BE #B5BE51 #51BE5A
monochromatic
#50286C #713999 #9151BE #AD7ECF #C9AADF
Accessibility & contrast
On white
5.09
#9151BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#9151BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9151BE
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9151BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9151BE | 1.00 | 5.09 | 4.12 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B6BC2
Deuteranopia (green-blind)
#446FBB
Tritanopia (blue-blind)
#8B6580
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9151be; /* rgb */ color: rgb(145, 81, 190); /* oklch */ color: oklch(55.8% 0.170 309.0);
Tailwind
colors: {
custom: {
50: '#b485d2',
500: '#9151be',
950: '#000000',
},
}SCSS
$custom: #9151be; $custom-light: #b485d2; $custom-dark: #000000;
JSON
{
"hex": "#9151be",
"rgb": {
"r": 145,
"g": 81,
"b": 190
},
"hsl": {
"h": 275.229,
"s": 45.607,
"l": 53.137
},
"oklch": {
"l": 0.55825,
"c": 0.17032,
"h": 309
},
"luminance": 0.15622
}Semantic roles & 50–950 ramp
primary
#9151BE
secondary
#B1CD9E
accent
#D55389
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82