#7D47CB#7D47CB
#7D47CB is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.1% C 0.195 H 298.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7D47CB |
|---|---|
| RGB | rgb(125, 71, 203) |
| HSL | hsl(265, 56%, 54%) |
| HSV | hsv(265, 65%, 80%) |
| CMYK | cmyk(38.4%, 65%, 0%, 20.4%) |
| CIE-LAB | lab(43.03, 50.15, -60.26) |
| CIE-LCH | lch(43.03, 78.40, 309.77°) |
| OKLab | oklab(53.07% 0.0923 -0.1717) |
| OKLCH | oklch(53.07% 0.195 298.3) |
| XYZ | xyz(21.4875, 13.1779, 57.8999) |
| Luminance | 0.1318 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 4.84
Bluey Purple
#6241C7
ΔE00 4.97
Blueviolet
#8A2BE2
ΔE00 5.14
Darkorchid
#9932CC
ΔE00 5.69
Purpley
#8756E4
ΔE00 5.81
Light Indigo
#6D5ACF
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D47CB #95CB47
analogous
#4753CB #7D47CB #BF47CB
triadic
#7D47CB #CB7D47 #47CB7D
tetradic
#7D47CB #CB4753 #95CB47 #47CBBF
square
#7D47CB #CB4753 #95CB47 #47CBBF
split-complementary
#7D47CB #CBBF47 #53CB47
monochromatic
#442176 #602FA6 #7D47CB #9F77D8 #C0A6E6
Accessibility & contrast
On white
5.78
#7D47CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#7D47CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D47CB
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D47CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D47CB | 1.00 | 5.78 | 3.64 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#6B6583
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7d47cb; /* rgb */ color: rgb(125, 71, 203); /* oklch */ color: oklch(53.1% 0.195 298.3);
Tailwind
colors: {
custom: {
50: '#a87ddc',
500: '#7d47cb',
950: '#000000',
},
}SCSS
$custom: #7d47cb; $custom-light: #a87ddc; $custom-dark: #000000;
JSON
{
"hex": "#7d47cb",
"rgb": {
"r": 125,
"g": 71,
"b": 203
},
"hsl": {
"h": 264.545,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.53068,
"c": 0.19493,
"h": 298.3
},
"luminance": 0.13178
}Semantic roles & 50–950 ramp
primary
#7D47CB
secondary
#BCD39B
accent
#DF49A2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83