#9150CB#9150CB
#9150CB is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.5% C 0.186 H 305.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #9150CB |
|---|---|
| RGB | rgb(145, 80, 203) |
| HSL | hsl(272, 54%, 55%) |
| HSV | hsv(272, 61%, 80%) |
| CMYK | cmyk(28.6%, 60.6%, 0%, 20.4%) |
| CIE-LAB | lab(47.06, 49.90, -53.63) |
| CIE-LCH | lch(47.06, 73.26, 312.94°) |
| OKLab | oklab(56.51% 0.1085 -0.1516) |
| OKLCH | oklch(56.51% 0.186 305.6) |
| XYZ | xyz(25.3229, 16.0690, 58.2559) |
| Luminance | 0.1607 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.82
Deep Lavender
#8D5EB7
ΔE00 5.08
Lightish Purple
#A552E6
ΔE00 5.26
Amethyst
#9B5FC0
ΔE00 5.35
Darkorchid
#9932CC
ΔE00 5.55
Purply
#983FB2
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9150CB #8ACB50
analogous
#5350CB #9150CB #CB50C8
triadic
#9150CB #CB9150 #50CB91
tetradic
#9150CB #CB5350 #8ACB50 #50C8CB
square
#9150CB #CB5350 #8ACB50 #50C8CB
split-complementary
#9150CB #C8CB50 #50CB53
monochromatic
#53257C #7233AB #9150CB #AF7FD9 #CCAEE7
Accessibility & contrast
On white
4.98
#9150CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#9150CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9150CB
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9150CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9150CB | 1.00 | 4.98 | 4.21 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#106ECF
Deuteranopia (green-blind)
#3670C8
Tritanopia (blue-blind)
#876986
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9150cb; /* rgb */ color: rgb(145, 80, 203); /* oklch */ color: oklch(56.5% 0.186 305.6);
Tailwind
colors: {
custom: {
50: '#b584db',
500: '#9150cb',
950: '#000000',
},
}SCSS
$custom: #9150cb; $custom-light: #b584db; $custom-dark: #000000;
JSON
{
"hex": "#9150cb",
"rgb": {
"r": 145,
"g": 80,
"b": 203
},
"hsl": {
"h": 271.707,
"s": 54.185,
"l": 55.49
},
"oklch": {
"l": 0.56508,
"c": 0.18642,
"h": 305.6
},
"luminance": 0.16069
}Semantic roles & 50–950 ramp
primary
#9150CB
secondary
#BAD5A2
accent
#DE4A90
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83