#9048CB#9048CB
#9048CB is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.3% C 0.197 H 306.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #9048CB |
|---|---|
| RGB | rgb(144, 72, 203) |
| HSL | hsl(273, 56%, 54%) |
| HSV | hsv(273, 65%, 80%) |
| CMYK | cmyk(29.1%, 64.5%, 0%, 20.4%) |
| CIE-LAB | lab(45.46, 53.69, -56.21) |
| CIE-LCH | lch(45.46, 77.74, 313.69°) |
| OKLab | oklab(55.32% 0.1166 -0.1592) |
| OKLCH | oklch(55.32% 0.197 306.2) |
| XYZ | xyz(24.5961, 14.8760, 58.0639) |
| Luminance | 0.1488 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.83
Purply
#983FB2
ΔE00 5.13
Purpley
#8756E4
ΔE00 5.61
Blueviolet
#8A2BE2
ΔE00 5.80
Lightish Purple
#A552E6
ΔE00 6.28
Deep Lavender
#8D5EB7
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9048CB #83CB48
analogous
#4F48CB #9048CB #CB48C5
triadic
#9048CB #CB9048 #48CB90
tetradic
#9048CB #CB4F48 #83CB48 #48C5CB
square
#9048CB #CB4F48 #83CB48 #48C5CB
split-complementary
#9048CB #C5CB48 #48CB4F
monochromatic
#512277 #712FA6 #9048CB #AD78D9 #CAA7E6
Accessibility & contrast
On white
5.28
#9048CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#9048CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9048CB
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9048CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9048CB | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#296CC8
Tritanopia (blue-blind)
#866483
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9048cb; /* rgb */ color: rgb(144, 72, 203); /* oklch */ color: oklch(55.3% 0.197 306.2);
Tailwind
colors: {
custom: {
50: '#b57fdc',
500: '#9048cb',
950: '#000000',
},
}SCSS
$custom: #9048cb; $custom-light: #b57fdc; $custom-dark: #000000;
JSON
{
"hex": "#9048cb",
"rgb": {
"r": 144,
"g": 72,
"b": 203
},
"hsl": {
"h": 272.977,
"s": 55.745,
"l": 53.922
},
"oklch": {
"l": 0.55322,
"c": 0.19733,
"h": 306.2
},
"luminance": 0.14876
}Semantic roles & 50–950 ramp
primary
#9048CB
secondary
#B5D39B
accent
#DF498C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83