#7D4FE7#7D4FE7
#7D4FE7 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.3% C 0.217 H 291.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4FE7 |
|---|---|
| RGB | rgb(125, 79, 231) |
| HSL | hsl(258, 76%, 61%) |
| HSV | hsv(258, 66%, 91%) |
| CMYK | cmyk(45.9%, 65.8%, 0%, 9.4%) |
| CIE-LAB | lab(46.61, 53.36, -70.45) |
| CIE-LCH | lch(46.61, 88.38, 307.14°) |
| OKLab | oklab(56.29% 0.0807 -0.2017) |
| OKLCH | oklch(56.29% 0.217 291.8) |
| XYZ | xyz(25.6732, 15.7206, 77.2675) |
| Luminance | 0.1572 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.58
Light Indigo
#6D5ACF
ΔE00 4.97
Bluish Purple
#703BE7
ΔE00 5.00
Purpleish Blue
#6140EF
ΔE00 5.44
Slate Blue
#6A5ACD
ΔE00 5.48
Dark Periwinkle
#665FD1
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4FE7 #B9E74F
analogous
#4F6DE7 #7D4FE7 #C94FE7
triadic
#7D4FE7 #E77D4F #4FE77D
tetradic
#7D4FE7 #E74F6D #B9E74F #4FE7C9
square
#7D4FE7 #E74F6D #B9E74F #4FE7C9
split-complementary
#7D4FE7 #E7C94F #6DE74F
monochromatic
#4217A5 #571EDB #7D4FE7 #A585EE #CDBBF6
Accessibility & contrast
On white
5.07
#7D4FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#7D4FE7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4FE7
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4FE7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4FE7 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#006BE4
Tritanopia (blue-blind)
#5D7494
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7d4fe7; /* rgb */ color: rgb(125, 79, 231); /* oklch */ color: oklch(56.3% 0.217 291.8);
Tailwind
colors: {
custom: {
50: '#ab83f0',
500: '#7d4fe7',
950: '#000000',
},
}SCSS
$custom: #7d4fe7; $custom-light: #ab83f0; $custom-dark: #000000;
JSON
{
"hex": "#7d4fe7",
"rgb": {
"r": 125,
"g": 79,
"b": 231
},
"hsl": {
"h": 258.158,
"s": 76,
"l": 60.784
},
"oklch": {
"l": 0.56287,
"c": 0.21723,
"h": 291.8
},
"luminance": 0.15721
}Semantic roles & 50–950 ramp
primary
#7D4FE7
secondary
#D4E6AC
accent
#D80D9B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85