#9148CB#9148CB
#9148CB is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.4% C 0.198 H 306.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9148CB |
|---|---|
| RGB | rgb(145, 72, 203) |
| HSL | hsl(273, 56%, 54%) |
| HSV | hsv(273, 65%, 80%) |
| CMYK | cmyk(28.6%, 64.5%, 0%, 20.4%) |
| CIE-LAB | lab(45.59, 53.91, -56.01) |
| CIE-LCH | lch(45.59, 77.74, 313.91°) |
| OKLab | oklab(55.44% 0.1179 -0.1585) |
| OKLCH | oklch(55.44% 0.198 306.6) |
| XYZ | xyz(24.7716, 14.9665, 58.0722) |
| Luminance | 0.1497 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.79
Purply
#983FB2
ΔE00 5.05
Purpley
#8756E4
ΔE00 5.67
Blueviolet
#8A2BE2
ΔE00 5.89
Lightish Purple
#A552E6
ΔE00 6.16
Deep Lavender
#8D5EB7
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9148CB #82CB48
analogous
#5048CB #9148CB #CB48C4
triadic
#9148CB #CB9148 #48CB91
tetradic
#9148CB #CB5048 #82CB48 #48C4CB
square
#9148CB #CB5048 #82CB48 #48C4CB
split-complementary
#9148CB #C4CB48 #48CB50
monochromatic
#512277 #722FA6 #9148CB #AE78D9 #CAA7E6
Accessibility & contrast
On white
5.26
#9148CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#9148CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9148CB
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9148CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9148CB | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#2A6CC8
Tritanopia (blue-blind)
#876483
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9148cb; /* rgb */ color: rgb(145, 72, 203); /* oklch */ color: oklch(55.4% 0.198 306.6);
Tailwind
colors: {
custom: {
50: '#b57fdc',
500: '#9148cb',
950: '#000000',
},
}SCSS
$custom: #9148cb; $custom-light: #b57fdc; $custom-dark: #000000;
JSON
{
"hex": "#9148cb",
"rgb": {
"r": 145,
"g": 72,
"b": 203
},
"hsl": {
"h": 273.435,
"s": 55.745,
"l": 53.922
},
"oklch": {
"l": 0.55438,
"c": 0.19759,
"h": 306.6
},
"luminance": 0.14966
}Semantic roles & 50–950 ramp
primary
#9148CB
secondary
#B4D39B
accent
#DF498B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83