#7D4FF0#7D4FF0
#7D4FF0 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.228 H 290.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4FF0 |
|---|---|
| RGB | rgb(125, 79, 240) |
| HSL | hsl(257, 84%, 63%) |
| HSV | hsv(257, 67%, 94%) |
| CMYK | cmyk(47.9%, 67.1%, 0%, 5.9%) |
| CIE-LAB | lab(47.29, 55.79, -74.41) |
| CIE-LCH | lch(47.29, 93.00, 306.86°) |
| OKLab | oklab(56.99% 0.0794 -0.2133) |
| OKLCH | oklch(56.99% 0.228 290.4) |
| XYZ | xyz(26.9771, 16.2422, 84.1348) |
| Luminance | 0.1624 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.83
Bluish Purple
#703BE7
ΔE00 5.39
Purpleish Blue
#6140EF
ΔE00 5.55
Light Indigo
#6D5ACF
ΔE00 5.66
Slate Blue
#6A5ACD
ΔE00 6.16
Mediumslateblue
#7B68EE
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4FF0 #C2F04F
analogous
#4F71F0 #7D4FF0 #CE4FF0
triadic
#7D4FF0 #F07D4F #4FF07D
tetradic
#7D4FF0 #F04F71 #C2F04F #4FF0CE
square
#7D4FF0 #F04F71 #C2F04F #4FF0CE
split-complementary
#7D4FF0 #F0CE4F #71F04F
monochromatic
#3F0FB5 #5317EB #7D4FF0 #A787F5 #D0C0FA
Accessibility & contrast
On white
4.94
#7D4FF0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#7D4FF0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4FF0
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4FF0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4FF0 | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073F5
Deuteranopia (green-blind)
#006CED
Tritanopia (blue-blind)
#577799
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7d4ff0; /* rgb */ color: rgb(125, 79, 240); /* oklch */ color: oklch(57.0% 0.228 290.4);
Tailwind
colors: {
custom: {
50: '#ac83f6',
500: '#7d4ff0',
950: '#000000',
},
}SCSS
$custom: #7d4ff0; $custom-light: #ac83f6; $custom-dark: #000000;
JSON
{
"hex": "#7d4ff0",
"rgb": {
"r": 125,
"g": 79,
"b": 240
},
"hsl": {
"h": 257.143,
"s": 84.293,
"l": 62.549
},
"oklch": {
"l": 0.56992,
"c": 0.22761,
"h": 290.4
},
"luminance": 0.16243
}Semantic roles & 50–950 ramp
primary
#7D4FF0
secondary
#DAEBB0
accent
#E105A2
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85