#9048C8#9048C8
#9048C8 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 55.1% C 0.194 H 307.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #9048C8 |
|---|---|
| RGB | rgb(144, 72, 200) |
| HSL | hsl(274, 54%, 53%) |
| HSV | hsv(274, 64%, 78%) |
| CMYK | cmyk(28%, 64%, 0%, 21.6%) |
| CIE-LAB | lab(45.27, 53.00, -54.80) |
| CIE-LCH | lch(45.27, 76.23, 314.05°) |
| OKLab | oklab(55.12% 0.1168 -0.155) |
| OKLCH | oklch(55.12% 0.194 307) |
| XYZ | xyz(24.2421, 14.7344, 56.1993) |
| Luminance | 0.1473 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.78
Purply
#983FB2
ΔE00 4.71
Purpley
#8756E4
ΔE00 6.00
Blueviolet
#8A2BE2
ΔE00 6.04
Deep Lavender
#8D5EB7
ΔE00 6.36
Royal Purple
#7851A9
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9048C8 #80C848
analogous
#5048C8 #9048C8 #C848C0
triadic
#9048C8 #C89048 #48C890
tetradic
#9048C8 #C85048 #80C848 #48C0C8
square
#9048C8 #C85048 #80C848 #48C0C8
split-complementary
#9048C8 #C0C848 #48C850
monochromatic
#502373 #7031A2 #9048C8 #AD77D6 #C9A6E4
Accessibility & contrast
On white
5.32
#9048C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#9048C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9048C8
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9048C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9048C8 | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#2D6CC5
Tritanopia (blue-blind)
#876382
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9048c8; /* rgb */ color: rgb(144, 72, 200); /* oklch */ color: oklch(55.1% 0.194 307.0);
Tailwind
colors: {
custom: {
50: '#b47fd9',
500: '#9048c8',
950: '#000000',
},
}SCSS
$custom: #9048c8; $custom-light: #b47fd9; $custom-dark: #000000;
JSON
{
"hex": "#9048c8",
"rgb": {
"r": 144,
"g": 72,
"b": 200
},
"hsl": {
"h": 273.75,
"s": 53.782,
"l": 53.333
},
"oklch": {
"l": 0.55118,
"c": 0.19411,
"h": 307
},
"luminance": 0.14734
}Semantic roles & 50–950 ramp
primary
#9048C8
secondary
#B2D19A
accent
#DD4B8B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83