#7C50CC#7C50CC
#7C50CC is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.3% C 0.184 H 296.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #7C50CC |
|---|---|
| RGB | rgb(124, 80, 204) |
| HSL | hsl(261, 55%, 56%) |
| HSV | hsv(261, 61%, 80%) |
| CMYK | cmyk(39.2%, 60.8%, 0%, 20%) |
| CIE-LAB | lab(44.78, 45.39, -58.02) |
| CIE-LCH | lch(44.78, 73.66, 308.04°) |
| OKLab | oklab(54.33% 0.0808 -0.1651) |
| OKLCH | oklch(54.33% 0.184 296.1) |
| XYZ | xyz(22.0771, 14.3816, 58.7278) |
| Luminance | 0.1438 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.19
Purpley
#8756E4
ΔE00 4.37
Slate Blue
#6A5ACD
ΔE00 4.60
Iris
#6258C4
ΔE00 5.66
Royal Purple
#7851A9
ΔE00 5.86
Bluish Purple
#703BE7
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C50CC #A0CC50
analogous
#5062CC #7C50CC #BA50CC
triadic
#7C50CC #CC7C50 #50CC7C
tetradic
#7C50CC #CC5062 #A0CC50 #50CCBA
square
#7C50CC #CC5062 #A0CC50 #50CCBA
split-complementary
#7C50CC #CCBA50 #62CC50
monochromatic
#44247D #5E32AD #7C50CC #9F7FDA #C3AFE8
Accessibility & contrast
On white
5.42
#7C50CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#7C50CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C50CC
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C50CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C50CC | 1.00 | 5.42 | 3.88 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#1168C9
Tritanopia (blue-blind)
#686B86
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7c50cc; /* rgb */ color: rgb(124, 80, 204); /* oklch */ color: oklch(54.3% 0.184 296.1);
Tailwind
colors: {
custom: {
50: '#a783dc',
500: '#7c50cc',
950: '#000000',
},
}SCSS
$custom: #7c50cc; $custom-light: #a783dc; $custom-dark: #000000;
JSON
{
"hex": "#7c50cc",
"rgb": {
"r": 124,
"g": 80,
"b": 204
},
"hsl": {
"h": 261.29,
"s": 54.867,
"l": 55.686
},
"oklch": {
"l": 0.5433,
"c": 0.18384,
"h": 296.1
},
"luminance": 0.14382
}Semantic roles & 50–950 ramp
primary
#7C50CC
secondary
#C3D6A2
accent
#DE4AA9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83