#7C4CED#7C4CED
#7C4CED is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.228 H 290.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4CED |
|---|---|
| RGB | rgb(124, 76, 237) |
| HSL | hsl(258, 82%, 61%) |
| HSV | hsv(258, 68%, 93%) |
| CMYK | cmyk(47.7%, 67.9%, 0%, 7.1%) |
| CIE-LAB | lab(46.40, 56.34, -74.17) |
| CIE-LCH | lch(46.40, 93.15, 307.22°) |
| OKLab | oklab(56.26% 0.0813 -0.2126) |
| OKLCH | oklch(56.26% 0.228 290.9) |
| XYZ | xyz(26.1784, 15.5674, 81.7298) |
| Luminance | 0.1557 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.28
Bluish Purple
#703BE7
ΔE00 4.51
Purpleish Blue
#6140EF
ΔE00 4.88
Light Indigo
#6D5ACF
ΔE00 5.66
Slate Blue
#6A5ACD
ΔE00 6.13
Blueviolet
#8A2BE2
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4CED #BDED4C
analogous
#4C6DED #7C4CED #CD4CED
triadic
#7C4CED #ED7C4C #4CED7C
tetradic
#7C4CED #ED4C6D #BDED4C #4CEDCD
square
#7C4CED #ED4C6D #BDED4C #4CEDCD
split-complementary
#7C4CED #EDCD4C #6DED4C
monochromatic
#4011AD #5417E5 #7C4CED #A584F3 #CDBBF8
Accessibility & contrast
On white
5.11
#7C4CED on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#7C4CED on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4CED
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4CED | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4CED | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071F2
Deuteranopia (green-blind)
#006AEA
Tritanopia (blue-blind)
#577597
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7c4ced; /* rgb */ color: rgb(124, 76, 237); /* oklch */ color: oklch(56.3% 0.228 290.9);
Tailwind
colors: {
custom: {
50: '#ab81f4',
500: '#7c4ced',
950: '#000000',
},
}SCSS
$custom: #7c4ced; $custom-light: #ab81f4; $custom-dark: #000000;
JSON
{
"hex": "#7c4ced",
"rgb": {
"r": 124,
"g": 76,
"b": 237
},
"hsl": {
"h": 257.888,
"s": 81.726,
"l": 61.373
},
"oklch": {
"l": 0.5626,
"c": 0.22766,
"h": 290.9
},
"luminance": 0.15568
}Semantic roles & 50–950 ramp
primary
#7C4CED
secondary
#D7E8AC
accent
#DE079E
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85