#9151CB#9151CB
#9151CB is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.6% C 0.185 H 305.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #9151CB |
|---|---|
| RGB | rgb(145, 81, 203) |
| HSL | hsl(271, 54%, 56%) |
| HSV | hsv(271, 60%, 80%) |
| CMYK | cmyk(28.6%, 60.1%, 0%, 20.4%) |
| CIE-LAB | lab(47.26, 49.38, -53.32) |
| CIE-LCH | lch(47.26, 72.68, 312.80°) |
| OKLab | oklab(56.65% 0.1073 -0.1507) |
| OKLCH | oklch(56.65% 0.185 305.4) |
| XYZ | xyz(25.3966, 16.2166, 58.2805) |
| Luminance | 0.1622 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.75
Deep Lavender
#8D5EB7
ΔE00 4.91
Amethyst
#9B5FC0
ΔE00 5.17
Lightish Purple
#A552E6
ΔE00 5.18
Darkorchid
#9932CC
ΔE00 5.79
Purply
#983FB2
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9151CB #8BCB51
analogous
#5451CB #9151CB #CB51C8
triadic
#9151CB #CB9151 #51CB91
tetradic
#9151CB #CB5451 #8BCB51 #51C8CB
square
#9151CB #CB5451 #8BCB51 #51C8CB
split-complementary
#9151CB #C8CB51 #51CB54
monochromatic
#53257C #7233AC #9151CB #AF80D9 #CDAFE7
Accessibility & contrast
On white
4.95
#9151CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#9151CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9151CB
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9151CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9151CB | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#156ECF
Deuteranopia (green-blind)
#3770C8
Tritanopia (blue-blind)
#876986
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9151cb; /* rgb */ color: rgb(145, 81, 203); /* oklch */ color: oklch(56.6% 0.185 305.4);
Tailwind
colors: {
custom: {
50: '#b585db',
500: '#9151cb',
950: '#000000',
},
}SCSS
$custom: #9151cb; $custom-light: #b585db; $custom-dark: #000000;
JSON
{
"hex": "#9151cb",
"rgb": {
"r": 145,
"g": 81,
"b": 203
},
"hsl": {
"h": 271.475,
"s": 53.982,
"l": 55.686
},
"oklch": {
"l": 0.56648,
"c": 0.18497,
"h": 305.4
},
"luminance": 0.16216
}Semantic roles & 50–950 ramp
primary
#9151CB
secondary
#BBD5A3
accent
#DD4A90
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83