#7D4FCE#7D4FCE
#7D4FCE is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.4% C 0.188 H 296.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4FCE |
|---|---|
| RGB | rgb(125, 79, 206) |
| HSL | hsl(262, 56%, 56%) |
| HSV | hsv(262, 62%, 81%) |
| CMYK | cmyk(39.3%, 61.7%, 0%, 19.2%) |
| CIE-LAB | lab(44.81, 46.68, -59.10) |
| CIE-LCH | lch(44.81, 75.32, 308.30°) |
| OKLab | oklab(54.42% 0.0831 -0.1683) |
| OKLCH | oklch(54.42% 0.188 296.3) |
| XYZ | xyz(22.3911, 14.4077, 59.9818) |
| Luminance | 0.1441 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.20
Light Indigo
#6D5ACF
ΔE00 4.42
Slate Blue
#6A5ACD
ΔE00 4.85
Bluish Purple
#703BE7
ΔE00 5.70
Iris
#6258C4
ΔE00 5.94
Bluey Purple
#6241C7
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4FCE #A0CE4F
analogous
#4F60CE #7D4FCE #BC4FCE
triadic
#7D4FCE #CE7D4F #4FCE7D
tetradic
#7D4FCE #CE4F60 #A0CE4F #4FCEBC
square
#7D4FCE #CE4F60 #A0CE4F #4FCEBC
split-complementary
#7D4FCE #CEBC4F #60CE4F
monochromatic
#45237F #5E31AF #7D4FCE #A07FDB #C4AFE9
Accessibility & contrast
On white
5.41
#7D4FCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#7D4FCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4FCE
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4FCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4FCE | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#0668CB
Tritanopia (blue-blind)
#696B87
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7d4fce; /* rgb */ color: rgb(125, 79, 206); /* oklch */ color: oklch(54.4% 0.188 296.3);
Tailwind
colors: {
custom: {
50: '#a882de',
500: '#7d4fce',
950: '#000000',
},
}SCSS
$custom: #7d4fce; $custom-light: #a882de; $custom-dark: #000000;
JSON
{
"hex": "#7d4fce",
"rgb": {
"r": 125,
"g": 79,
"b": 206
},
"hsl": {
"h": 261.732,
"s": 56.444,
"l": 55.882
},
"oklch": {
"l": 0.54424,
"c": 0.18772,
"h": 296.3
},
"luminance": 0.14408
}Semantic roles & 50–950 ramp
primary
#7D4FCE
secondary
#C4D7A2
accent
#E048A9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83