#7C47CB#7C47CB
#7C47CB is a mid, vivid violet. Relative luminance 0.131; OKLCH L 53.0% C 0.195 H 297.8°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #7C47CB |
|---|---|
| RGB | rgb(124, 71, 203) |
| HSL | hsl(264, 56%, 54%) |
| HSV | hsv(264, 65%, 80%) |
| CMYK | cmyk(38.9%, 65%, 0%, 20.4%) |
| CIE-LAB | lab(42.92, 49.95, -60.44) |
| CIE-LCH | lch(42.92, 78.41, 309.57°) |
| OKLab | oklab(52.96% 0.0909 -0.1723) |
| OKLCH | oklch(52.96% 0.195 297.8) |
| XYZ | xyz(21.3422, 13.1030, 57.8930) |
| Luminance | 0.1310 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 4.75
Bluey Purple
#6241C7
ΔE00 4.79
Blueviolet
#8A2BE2
ΔE00 5.19
Darkorchid
#9932CC
ΔE00 5.84
Purpley
#8756E4
ΔE00 5.87
Light Indigo
#6D5ACF
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C47CB #96CB47
analogous
#4754CB #7C47CB #BE47CB
triadic
#7C47CB #CB7C47 #47CB7C
tetradic
#7C47CB #CB4754 #96CB47 #47CBBE
square
#7C47CB #CB4754 #96CB47 #47CBBE
split-complementary
#7C47CB #CBBE47 #54CB47
monochromatic
#432176 #5F2FA6 #7C47CB #9E77D8 #C0A6E6
Accessibility & contrast
On white
5.80
#7C47CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#7C47CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C47CB
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C47CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C47CB | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#696583
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7c47cb; /* rgb */ color: rgb(124, 71, 203); /* oklch */ color: oklch(53.0% 0.195 297.8);
Tailwind
colors: {
custom: {
50: '#a87ddc',
500: '#7c47cb',
950: '#000000',
},
}SCSS
$custom: #7c47cb; $custom-light: #a87ddc; $custom-dark: #000000;
JSON
{
"hex": "#7c47cb",
"rgb": {
"r": 124,
"g": 71,
"b": 203
},
"hsl": {
"h": 264.091,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.52962,
"c": 0.1948,
"h": 297.8
},
"luminance": 0.13103
}Semantic roles & 50–950 ramp
primary
#7C47CB
secondary
#BCD39B
accent
#DF49A3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83