#7B48C8#7B48C8
#7B48C8 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.8% C 0.190 H 297.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7B48C8 |
|---|---|
| RGB | rgb(123, 72, 200) |
| HSL | hsl(264, 54%, 53%) |
| HSV | hsv(264, 64%, 78%) |
| CMYK | cmyk(38.5%, 64%, 0%, 21.6%) |
| CIE-LAB | lab(42.79, 48.44, -58.93) |
| CIE-LCH | lch(42.79, 76.28, 309.42°) |
| OKLab | oklab(52.78% 0.0888 -0.1678) |
| OKLCH | oklch(52.78% 0.19 297.9) |
| XYZ | xyz(20.9084, 13.0155, 56.0431) |
| Luminance | 0.1302 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.73
Bluish Purple
#703BE7
ΔE00 5.11
Blueviolet
#8A2BE2
ΔE00 5.61
Royal Purple
#7851A9
ΔE00 5.72
Light Indigo
#6D5ACF
ΔE00 5.86
Purpley
#8756E4
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B48C8 #95C848
analogous
#4855C8 #7B48C8 #BB48C8
triadic
#7B48C8 #C87B48 #48C87B
tetradic
#7B48C8 #C84855 #95C848 #48C8BB
square
#7B48C8 #C84855 #95C848 #48C8BB
split-complementary
#7B48C8 #C8BB48 #55C848
monochromatic
#432373 #5E31A2 #7B48C8 #9D77D6 #BFA6E4
Accessibility & contrast
On white
5.83
#7B48C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#7B48C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B48C8
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B48C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B48C8 | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#696581
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7b48c8; /* rgb */ color: rgb(123, 72, 200); /* oklch */ color: oklch(52.8% 0.190 297.9);
Tailwind
colors: {
custom: {
50: '#a77ed9',
500: '#7b48c8',
950: '#000000',
},
}SCSS
$custom: #7b48c8; $custom-light: #a77ed9; $custom-dark: #000000;
JSON
{
"hex": "#7b48c8",
"rgb": {
"r": 123,
"g": 72,
"b": 200
},
"hsl": {
"h": 263.906,
"s": 53.782,
"l": 53.333
},
"oklch": {
"l": 0.52775,
"c": 0.18987,
"h": 297.9
},
"luminance": 0.13016
}Semantic roles & 50–950 ramp
primary
#7B48C8
secondary
#BBD19A
accent
#DD4BA3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83