#9150B1#9150B1
#9150B1 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 54.9% C 0.157 H 313.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #9150B1 |
|---|---|
| RGB | rgb(145, 80, 177) |
| HSL | hsl(280, 38%, 50%) |
| HSV | hsv(280, 55%, 69%) |
| CMYK | cmyk(18.1%, 54.8%, 0%, 30.6%) |
| CIE-LAB | lab(45.54, 43.95, -40.95) |
| CIE-LCH | lch(45.54, 60.07, 317.02°) |
| OKLab | oklab(54.9% 0.1079 -0.1145) |
| OKLCH | oklch(54.9% 0.157 313.3) |
| XYZ | xyz(22.4802, 14.9320, 43.2844) |
| Luminance | 0.1493 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.80
Deep Lavender
#8D5EB7
ΔE00 4.10
Medium Purple
#9E43A2
ΔE00 5.09
Amethyst
#9B5FC0
ΔE00 5.15
Royal Purple
#7851A9
ΔE00 5.26
Ugly Purple
#A442A0
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9150B1 #70B150
analogous
#6050B1 #9150B1 #B150A1
triadic
#9150B1 #B19150 #50B191
tetradic
#9150B1 #B16050 #70B150 #50A1B1
square
#9150B1 #B16050 #70B150 #50A1B1
split-complementary
#9150B1 #A1B150 #50B160
monochromatic
#4C295D #6F3C87 #9150B1 #AC7AC4 #C6A5D7
Accessibility & contrast
On white
5.27
#9150B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#9150B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9150B1
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9150B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9150B1 | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3668B4
Deuteranopia (green-blind)
#4C6DAF
Tritanopia (blue-blind)
#8E6079
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9150b1; /* rgb */ color: rgb(145, 80, 177); /* oklch */ color: oklch(54.9% 0.157 313.3);
Tailwind
colors: {
custom: {
50: '#b484c9',
500: '#9150b1',
950: '#000000',
},
}SCSS
$custom: #9150b1; $custom-light: #b484c9; $custom-dark: #000000;
JSON
{
"hex": "#9150b1",
"rgb": {
"r": 145,
"g": 80,
"b": 177
},
"hsl": {
"h": 280.206,
"s": 38.34,
"l": 50.392
},
"oklch": {
"l": 0.54902,
"c": 0.15734,
"h": 313.3
},
"luminance": 0.14931
}Semantic roles & 50–950 ramp
primary
#9150B1
secondary
#A7C499
accent
#CE5A80
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82