#7C4BD3#7C4BD3
#7C4BD3 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.1% C 0.199 H 295.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4BD3 |
|---|---|
| RGB | rgb(124, 75, 211) |
| HSL | hsl(262, 61%, 56%) |
| HSV | hsv(262, 64%, 83%) |
| CMYK | cmyk(41.2%, 64.5%, 0%, 17.3%) |
| CIE-LAB | lab(44.26, 49.94, -62.87) |
| CIE-LCH | lch(44.26, 80.29, 308.46°) |
| OKLab | oklab(54.11% 0.0858 -0.1794) |
| OKLCH | oklch(54.11% 0.199 295.6) |
| XYZ | xyz(22.5830, 14.0199, 63.1317) |
| Luminance | 0.1402 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.43
Bluish Purple
#703BE7
ΔE00 4.53
Light Indigo
#6D5ACF
ΔE00 4.94
Slate Blue
#6A5ACD
ΔE00 5.34
Bluey Purple
#6241C7
ΔE00 5.38
Blueviolet
#8A2BE2
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4BD3 #A2D34B
analogous
#4B5ED3 #7C4BD3 #C04BD3
triadic
#7C4BD3 #D37C4B #4BD37C
tetradic
#7C4BD3 #D34B5E #A2D34B #4BD3C0
square
#7C4BD3 #D34B5E #A2D34B #4BD3C0
split-complementary
#7C4BD3 #D3C04B #5ED34B
monochromatic
#442083 #5D2CB5 #7C4BD3 #A07CDF #C4ADEB
Accessibility & contrast
On white
5.52
#7C4BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#7C4BD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4BD3
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4BD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4BD3 | 1.00 | 5.52 | 3.80 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#656B88
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7c4bd3; /* rgb */ color: rgb(124, 75, 211); /* oklch */ color: oklch(54.1% 0.199 295.6);
Tailwind
colors: {
custom: {
50: '#a880e1',
500: '#7c4bd3',
950: '#000000',
},
}SCSS
$custom: #7c4bd3; $custom-light: #a880e1; $custom-dark: #000000;
JSON
{
"hex": "#7c4bd3",
"rgb": {
"r": 124,
"g": 75,
"b": 211
},
"hsl": {
"h": 261.618,
"s": 60.714,
"l": 56.078
},
"oklch": {
"l": 0.54112,
"c": 0.19888,
"h": 295.6
},
"luminance": 0.1402
}Semantic roles & 50–950 ramp
primary
#7C4BD3
secondary
#C5D9A1
accent
#E444AA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83