#7E4FDF#7E4FDF
#7E4FDF is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.8% C 0.208 H 293.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4FDF |
|---|---|
| RGB | rgb(126, 79, 223) |
| HSL | hsl(260, 69%, 59%) |
| HSV | hsv(260, 65%, 87%) |
| CMYK | cmyk(43.5%, 64.6%, 0%, 12.5%) |
| CIE-LAB | lab(46.12, 51.40, -66.71) |
| CIE-LCH | lch(46.12, 84.21, 307.61°) |
| OKLab | oklab(55.77% 0.083 -0.1906) |
| OKLCH | oklch(55.77% 0.208 293.5) |
| XYZ | xyz(24.7158, 15.3546, 71.4592) |
| Luminance | 0.1535 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.64
Light Indigo
#6D5ACF
ΔE00 4.62
Bluish Purple
#703BE7
ΔE00 5.01
Slate Blue
#6A5ACD
ΔE00 5.14
Purpleish Blue
#6140EF
ΔE00 5.74
Blueviolet
#8A2BE2
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4FDF #B0DF4F
analogous
#4F68DF #7E4FDF #C64FDF
triadic
#7E4FDF #DF7E4F #4FDF7E
tetradic
#7E4FDF #DF4F68 #B0DF4F #4FDFC6
square
#7E4FDF #DF4F68 #B0DF4F #4FDFC6
split-complementary
#7E4FDF #DFC64F #68DF4F
monochromatic
#441C98 #5B25CC #7E4FDF #A483E8 #CAB7F2
Accessibility & contrast
On white
5.16
#7E4FDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#7E4FDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4FDF
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4FDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4FDF | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE3
Deuteranopia (green-blind)
#006BDC
Tritanopia (blue-blind)
#637190
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7e4fdf; /* rgb */ color: rgb(126, 79, 223); /* oklch */ color: oklch(55.8% 0.208 293.5);
Tailwind
colors: {
custom: {
50: '#aa83ea',
500: '#7e4fdf',
950: '#000000',
},
}SCSS
$custom: #7e4fdf; $custom-light: #aa83ea; $custom-dark: #000000;
JSON
{
"hex": "#7e4fdf",
"rgb": {
"r": 126,
"g": 79,
"b": 223
},
"hsl": {
"h": 259.583,
"s": 69.231,
"l": 59.216
},
"oklch": {
"l": 0.55772,
"c": 0.20793,
"h": 293.5
},
"luminance": 0.15355
}Semantic roles & 50–950 ramp
primary
#7E4FDF
secondary
#CFE1A9
accent
#EC3CB3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84