#7C47CC#7C47CC
#7C47CC is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.0% C 0.196 H 297.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7C47CC |
|---|---|
| RGB | rgb(124, 71, 204) |
| HSL | hsl(264, 57%, 54%) |
| HSV | hsv(264, 65%, 80%) |
| CMYK | cmyk(39.2%, 65.2%, 0%, 20%) |
| CIE-LAB | lab(42.99, 50.20, -60.91) |
| CIE-LCH | lch(42.99, 78.93, 309.50°) |
| OKLab | oklab(53.04% 0.0908 -0.1736) |
| OKLCH | oklch(53.04% 0.196 297.6) |
| XYZ | xyz(21.4617, 13.1509, 58.5227) |
| Luminance | 0.1315 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 4.63
Bluey Purple
#6241C7
ΔE00 4.79
Blueviolet
#8A2BE2
ΔE00 5.13
Purpley
#8756E4
ΔE00 5.77
Darkorchid
#9932CC
ΔE00 5.87
Light Indigo
#6D5ACF
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C47CC #97CC47
analogous
#4755CC #7C47CC #BF47CC
triadic
#7C47CC #CC7C47 #47CC7C
tetradic
#7C47CC #CC4755 #97CC47 #47CCBF
square
#7C47CC #CC4755 #97CC47 #47CCBF
split-complementary
#7C47CC #CCBF47 #55CC47
monochromatic
#442177 #5F2EA7 #7C47CC #9E77D9 #C0A7E7
Accessibility & contrast
On white
5.78
#7C47CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#7C47CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C47CC
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C47CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C47CC | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#696683
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7c47cc; /* rgb */ color: rgb(124, 71, 204); /* oklch */ color: oklch(53.0% 0.196 297.6);
Tailwind
colors: {
custom: {
50: '#a87ddc',
500: '#7c47cc',
950: '#000000',
},
}SCSS
$custom: #7c47cc; $custom-light: #a87ddc; $custom-dark: #000000;
JSON
{
"hex": "#7c47cc",
"rgb": {
"r": 124,
"g": 71,
"b": 204
},
"hsl": {
"h": 263.91,
"s": 56.596,
"l": 53.922
},
"oklch": {
"l": 0.53036,
"c": 0.19595,
"h": 297.6
},
"luminance": 0.13151
}Semantic roles & 50–950 ramp
primary
#7C47CC
secondary
#BDD49B
accent
#E048A3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83