#7D4FDA#7D4FDA
#7D4FDA is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.3% C 0.202 H 294.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4FDA |
|---|---|
| RGB | rgb(125, 79, 218) |
| HSL | hsl(260, 65%, 58%) |
| HSV | hsv(260, 64%, 85%) |
| CMYK | cmyk(42.7%, 63.8%, 0%, 14.5%) |
| CIE-LAB | lab(45.65, 49.87, -64.62) |
| CIE-LCH | lch(45.65, 81.62, 307.66°) |
| OKLab | oklab(55.3% 0.0822 -0.1845) |
| OKLCH | oklch(55.3% 0.202 294) |
| XYZ | xyz(23.9049, 15.0133, 67.9544) |
| Luminance | 0.1501 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.06
Light Indigo
#6D5ACF
ΔE00 4.35
Slate Blue
#6A5ACD
ΔE00 4.85
Bluish Purple
#703BE7
ΔE00 5.02
Purpleish Blue
#6140EF
ΔE00 5.84
Iris
#6258C4
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4FDA #ACDA4F
analogous
#4F66DA #7D4FDA #C24FDA
triadic
#7D4FDA #DA7D4F #4FDA7D
tetradic
#7D4FDA #DA4F66 #ACDA4F #4FDAC2
square
#7D4FDA #DA4F66 #ACDA4F #4FDAC2
split-complementary
#7D4FDA #DAC24F #66DA4F
monochromatic
#441E90 #5C29C3 #7D4FDA #A282E5 #C8B4EF
Accessibility & contrast
On white
5.25
#7D4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#7D4FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4FDA
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4FDA | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#006AD7
Tritanopia (blue-blind)
#646F8D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7d4fda; /* rgb */ color: rgb(125, 79, 218); /* oklch */ color: oklch(55.3% 0.202 294.0);
Tailwind
colors: {
custom: {
50: '#a983e6',
500: '#7d4fda',
950: '#000000',
},
}SCSS
$custom: #7d4fda; $custom-light: #a983e6; $custom-dark: #000000;
JSON
{
"hex": "#7d4fda",
"rgb": {
"r": 125,
"g": 79,
"b": 218
},
"hsl": {
"h": 259.856,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.55299,
"c": 0.202,
"h": 294
},
"luminance": 0.15014
}Semantic roles & 50–950 ramp
primary
#7D4FDA
secondary
#CCDEA7
accent
#E840B0
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110B16
muted
#807C84