#7D4CF5#7D4CF5
#7D4CF5 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.0% C 0.237 H 290.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4CF5 |
|---|---|
| RGB | rgb(125, 76, 245) |
| HSL | hsl(257, 89%, 63%) |
| HSV | hsv(257, 69%, 96%) |
| CMYK | cmyk(49%, 69%, 0%, 3.9%) |
| CIE-LAB | lab(47.13, 58.65, -77.47) |
| CIE-LCH | lch(47.13, 97.17, 307.13°) |
| OKLab | oklab(57% 0.0813 -0.2223) |
| OKLCH | oklch(57% 0.237 290.1) |
| XYZ | xyz(27.5186, 16.1203, 88.0301) |
| Luminance | 0.1612 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.48
Bluish Purple
#703BE7
ΔE00 5.11
Purpleish Blue
#6140EF
ΔE00 5.26
Light Indigo
#6D5ACF
ΔE00 6.33
Slate Blue
#6A5ACD
ΔE00 6.80
Blueviolet
#8A2BE2
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4CF5 #C4F54C
analogous
#4C70F5 #7D4CF5 #D14CF5
triadic
#7D4CF5 #F57D4C #4CF57D
tetradic
#7D4CF5 #F54C70 #C4F54C #4CF5D1
square
#7D4CF5 #F54C70 #C4F54C #4CF5D1
split-complementary
#7D4CF5 #F5D14C #70F54C
monochromatic
#3E0BBC #5312F2 #7D4CF5 #A786F8 #D1C0FB
Accessibility & contrast
On white
4.97
#7D4CF5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#7D4CF5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4CF5
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4CF5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4CF5 | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073FA
Deuteranopia (green-blind)
#006CF2
Tritanopia (blue-blind)
#54779B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7d4cf5; /* rgb */ color: rgb(125, 76, 245); /* oklch */ color: oklch(57.0% 0.237 290.1);
Tailwind
colors: {
custom: {
50: '#ac82fa',
500: '#7d4cf5',
950: '#000000',
},
}SCSS
$custom: #7d4cf5; $custom-light: #ac82fa; $custom-dark: #000000;
JSON
{
"hex": "#7d4cf5",
"rgb": {
"r": 125,
"g": 76,
"b": 245
},
"hsl": {
"h": 257.396,
"s": 89.418,
"l": 62.941
},
"oklch": {
"l": 0.57,
"c": 0.2367,
"h": 290.1
},
"luminance": 0.16121
}Semantic roles & 50–950 ramp
primary
#7D4CF5
secondary
#DBEDB0
accent
#E600A3
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85