#9150CE#9150CE
#9150CE is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.7% C 0.190 H 304.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #9150CE |
|---|---|
| RGB | rgb(145, 80, 206) |
| HSL | hsl(271, 56%, 56%) |
| HSV | hsv(271, 61%, 81%) |
| CMYK | cmyk(29.6%, 61.2%, 0%, 19.2%) |
| CIE-LAB | lab(47.25, 50.61, -55.05) |
| CIE-LCH | lch(47.25, 74.78, 312.59°) |
| OKLab | oklab(56.71% 0.1084 -0.1558) |
| OKLCH | oklch(56.71% 0.19 304.8) |
| XYZ | xyz(25.6838, 16.2134, 60.1570) |
| Luminance | 0.1621 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.39
Lightish Purple
#A552E6
ΔE00 4.96
Deep Lavender
#8D5EB7
ΔE00 5.39
Amethyst
#9B5FC0
ΔE00 5.57
Darkorchid
#9932CC
ΔE00 5.62
Purply
#983FB2
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9150CE #8DCE50
analogous
#5250CE #9150CE #CE50CC
triadic
#9150CE #CE9150 #50CE91
tetradic
#9150CE #CE5250 #8DCE50 #50CCCE
square
#9150CE #CE5250 #8DCE50 #50CCCE
split-complementary
#9150CE #CCCE50 #50CE52
monochromatic
#532480 #7231B0 #9150CE #AF80DB #CDB0E9
Accessibility & contrast
On white
4.95
#9150CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#9150CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9150CE
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9150CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9150CE | 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)
#046ED2
Deuteranopia (green-blind)
#3270CB
Tritanopia (blue-blind)
#866A88
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9150ce; /* rgb */ color: rgb(145, 80, 206); /* oklch */ color: oklch(56.7% 0.190 304.8);
Tailwind
colors: {
custom: {
50: '#b584de',
500: '#9150ce',
950: '#000000',
},
}SCSS
$custom: #9150ce; $custom-light: #b584de; $custom-dark: #000000;
JSON
{
"hex": "#9150ce",
"rgb": {
"r": 145,
"g": 80,
"b": 206
},
"hsl": {
"h": 270.952,
"s": 56.25,
"l": 56.078
},
"oklch": {
"l": 0.56705,
"c": 0.18978,
"h": 304.8
},
"luminance": 0.16213
}Semantic roles & 50–950 ramp
primary
#9150CE
secondary
#BCD7A3
accent
#E04891
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83