#7C48CF#7C48CF
#7C48CF is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.4% C 0.198 H 296.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7C48CF |
|---|---|
| RGB | rgb(124, 72, 207) |
| HSL | hsl(263, 58%, 55%) |
| HSV | hsv(263, 65%, 81%) |
| CMYK | cmyk(40.1%, 65.2%, 0%, 18.8%) |
| CIE-LAB | lab(43.40, 50.46, -61.98) |
| CIE-LCH | lch(43.40, 79.92, 309.15°) |
| OKLab | oklab(53.4% 0.0894 -0.1768) |
| OKLCH | oklch(53.4% 0.198 296.8) |
| XYZ | xyz(21.8891, 13.4244, 60.4573) |
| Luminance | 0.1343 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 4.43
Bluey Purple
#6241C7
ΔE00 4.92
Blueviolet
#8A2BE2
ΔE00 5.15
Purpley
#8756E4
ΔE00 5.31
Light Indigo
#6D5ACF
ΔE00 5.63
Purpleish Blue
#6140EF
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C48CF #9BCF48
analogous
#4858CF #7C48CF #C048CF
triadic
#7C48CF #CF7C48 #48CF7C
tetradic
#7C48CF #CF4858 #9BCF48 #48CFC0
square
#7C48CF #CF4858 #9BCF48 #48CFC0
split-complementary
#7C48CF #CFC048 #58CF48
monochromatic
#44217C #5E2DAD #7C48CF #9F78DC #C1A9E8
Accessibility & contrast
On white
5.70
#7C48CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#7C48CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C48CF
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C48CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C48CF | 1.00 | 5.70 | 3.69 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#676785
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7c48cf; /* rgb */ color: rgb(124, 72, 207); /* oklch */ color: oklch(53.4% 0.198 296.8);
Tailwind
colors: {
custom: {
50: '#a87edf',
500: '#7c48cf',
950: '#000000',
},
}SCSS
$custom: #7c48cf; $custom-light: #a87edf; $custom-dark: #000000;
JSON
{
"hex": "#7c48cf",
"rgb": {
"r": 124,
"g": 72,
"b": 207
},
"hsl": {
"h": 263.111,
"s": 58.442,
"l": 54.706
},
"oklch": {
"l": 0.53397,
"c": 0.19811,
"h": 296.8
},
"luminance": 0.13425
}Semantic roles & 50–950 ramp
primary
#7C48CF
secondary
#C0D69D
accent
#E246A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83