#7B48CD#7B48CD
#7B48CD is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.1% C 0.196 H 296.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7B48CD |
|---|---|
| RGB | rgb(123, 72, 205) |
| HSL | hsl(263, 57%, 54%) |
| HSV | hsv(263, 65%, 80%) |
| CMYK | cmyk(40%, 64.9%, 0%, 19.6%) |
| CIE-LAB | lab(43.14, 49.74, -61.24) |
| CIE-LCH | lch(43.14, 78.89, 309.08°) |
| OKLab | oklab(53.14% 0.0883 -0.1746) |
| OKLCH | oklch(53.14% 0.196 296.8) |
| XYZ | xyz(21.5023, 13.2531, 59.1710) |
| Luminance | 0.1325 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 4.55
Bluey Purple
#6241C7
ΔE00 4.72
Blueviolet
#8A2BE2
ΔE00 5.30
Purpley
#8756E4
ΔE00 5.57
Light Indigo
#6D5ACF
ΔE00 5.62
Slate Blue
#6A5ACD
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B48CD #9ACD48
analogous
#4857CD #7B48CD #BE48CD
triadic
#7B48CD #CD7B48 #48CD7B
tetradic
#7B48CD #CD4857 #9ACD48 #48CDBE
square
#7B48CD #CD4857 #9ACD48 #48CDBE
split-complementary
#7B48CD #CDBE48 #57CD48
monochromatic
#432179 #5E2EA9 #7B48CD #9E78DA #C0A8E7
Accessibility & contrast
On white
5.75
#7B48CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#7B48CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B48CD
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B48CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B48CD | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#676784
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7b48cd; /* rgb */ color: rgb(123, 72, 205); /* oklch */ color: oklch(53.1% 0.196 296.8);
Tailwind
colors: {
custom: {
50: '#a77edd',
500: '#7b48cd',
950: '#000000',
},
}SCSS
$custom: #7b48cd; $custom-light: #a77edd; $custom-dark: #000000;
JSON
{
"hex": "#7b48cd",
"rgb": {
"r": 123,
"g": 72,
"b": 205
},
"hsl": {
"h": 263.008,
"s": 57.082,
"l": 54.314
},
"oklch": {
"l": 0.53144,
"c": 0.19569,
"h": 296.8
},
"luminance": 0.13253
}Semantic roles & 50–950 ramp
primary
#7B48CD
secondary
#BFD59C
accent
#E047A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83