#7C4CCF#7C4CCF
#7C4CCF is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.0% C 0.193 H 296.2°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4CCF |
|---|---|
| RGB | rgb(124, 76, 207) |
| HSL | hsl(262, 58%, 55%) |
| HSV | hsv(262, 63%, 81%) |
| CMYK | cmyk(40.1%, 63.3%, 0%, 18.8%) |
| CIE-LAB | lab(44.17, 48.35, -60.72) |
| CIE-LCH | lch(44.17, 77.62, 308.53°) |
| OKLab | oklab(53.96% 0.0851 -0.1731) |
| OKLCH | oklch(53.96% 0.193 296.2) |
| XYZ | xyz(22.1562, 13.9585, 60.5463) |
| Luminance | 0.1396 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.63
Light Indigo
#6D5ACF
ΔE00 4.83
Bluish Purple
#703BE7
ΔE00 5.01
Slate Blue
#6A5ACD
ΔE00 5.22
Bluey Purple
#6241C7
ΔE00 5.40
Blueviolet
#8A2BE2
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4CCF #9FCF4C
analogous
#4C5DCF #7C4CCF #BE4CCF
triadic
#7C4CCF #CF7C4C #4CCF7C
tetradic
#7C4CCF #CF4C5D #9FCF4C #4CCFBE
square
#7C4CCF #CF4C5D #9FCF4C #4CCFBE
split-complementary
#7C4CCF #CFBE4C #5DCF4C
monochromatic
#44227F #5E2FAF #7C4CCF #9F7CDC #C3ADE9
Accessibility & contrast
On white
5.54
#7C4CCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#7C4CCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4CCF
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4CCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4CCF | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#676A87
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7c4ccf; /* rgb */ color: rgb(124, 76, 207); /* oklch */ color: oklch(54.0% 0.193 296.2);
Tailwind
colors: {
custom: {
50: '#a881de',
500: '#7c4ccf',
950: '#000000',
},
}SCSS
$custom: #7c4ccf; $custom-light: #a881de; $custom-dark: #000000;
JSON
{
"hex": "#7c4ccf",
"rgb": {
"r": 124,
"g": 76,
"b": 207
},
"hsl": {
"h": 261.985,
"s": 57.709,
"l": 55.49
},
"oklch": {
"l": 0.53958,
"c": 0.19287,
"h": 296.2
},
"luminance": 0.13959
}Semantic roles & 50–950 ramp
primary
#7C4CCF
secondary
#C3D7A0
accent
#E147A8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83