#7D48CD#7D48CD
#7D48CD is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.4% C 0.196 H 297.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7D48CD |
|---|---|
| RGB | rgb(125, 72, 205) |
| HSL | hsl(264, 57%, 54%) |
| HSV | hsv(264, 65%, 80%) |
| CMYK | cmyk(39%, 64.9%, 0%, 19.6%) |
| CIE-LAB | lab(43.36, 50.15, -60.87) |
| CIE-LCH | lch(43.36, 78.87, 309.48°) |
| OKLab | oklab(53.35% 0.091 -0.1735) |
| OKLCH | oklch(53.35% 0.196 297.7) |
| XYZ | xyz(21.7914, 13.4021, 59.1845) |
| Luminance | 0.1340 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 4.73
Bluey Purple
#6241C7
ΔE00 5.06
Blueviolet
#8A2BE2
ΔE00 5.20
Purpley
#8756E4
ΔE00 5.44
Light Indigo
#6D5ACF
ΔE00 5.79
Darkorchid
#9932CC
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D48CD #98CD48
analogous
#4856CD #7D48CD #C048CD
triadic
#7D48CD #CD7D48 #48CD7D
tetradic
#7D48CD #CD4856 #98CD48 #48CDC0
square
#7D48CD #CD4856 #98CD48 #48CDC0
split-complementary
#7D48CD #CDC048 #56CD48
monochromatic
#442179 #5F2EA9 #7D48CD #9F78DA #C1A8E7
Accessibility & contrast
On white
5.71
#7D48CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#7D48CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D48CD
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D48CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D48CD | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#6A6784
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7d48cd; /* rgb */ color: rgb(125, 72, 205); /* oklch */ color: oklch(53.4% 0.196 297.7);
Tailwind
colors: {
custom: {
50: '#a87edd',
500: '#7d48cd',
950: '#000000',
},
}SCSS
$custom: #7d48cd; $custom-light: #a87edd; $custom-dark: #000000;
JSON
{
"hex": "#7d48cd",
"rgb": {
"r": 125,
"g": 72,
"b": 205
},
"hsl": {
"h": 263.91,
"s": 57.082,
"l": 54.314
},
"oklch": {
"l": 0.53353,
"c": 0.19592,
"h": 297.7
},
"luminance": 0.13402
}Semantic roles & 50–950 ramp
primary
#7D48CD
secondary
#BED59C
accent
#E047A3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83