#7E6DFD#7E6DFD
#7E6DFD is a light, highly saturated blue. Relative luminance 0.225; OKLCH L 62.6% C 0.206 H 284.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #7E6DFD |
|---|---|
| RGB | rgb(126, 109, 253) |
| HSL | hsl(247, 97%, 71%) |
| HSV | hsv(247, 57%, 99%) |
| CMYK | cmyk(50.2%, 56.9%, 0%, 0.8%) |
| CIE-LAB | lab(54.52, 43.16, -69.91) |
| CIE-LCH | lch(54.52, 82.16, 301.69°) |
| OKLab | oklab(62.57% 0.0501 -0.2) |
| OKLCH | oklch(62.57% 0.206 284.1) |
| XYZ | xyz(31.7971, 22.4631, 95.5698) |
| Luminance | 0.2246 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.61
Cornflower
#6A79F7
ΔE00 5.46
Periwinkle (survey)
#8E82FE
ΔE00 6.22
Mediumpurple
#9370DB
ΔE00 6.70
Purpley
#8756E4
ΔE00 7.78
Lavender Blue
#8B88F8
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E6DFD #ECFD6D
analogous
#6DA4FD #7E6DFD #C66DFD
triadic
#7E6DFD #FD7E6D #6DFD7E
tetradic
#7E6DFD #FD6DA4 #ECFD6D #6DFDC6
square
#7E6DFD #FD6DA4 #ECFD6D #6DFDC6
split-complementary
#7E6DFD #FDC66D #A4FD6D
monochromatic
#1F03EC #4931FC #7E6DFD #B3A9FE #E4E1FF
Accessibility & contrast
On white
3.82
#7E6DFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#7E6DFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E6DFD
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E6DFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E6DFD | 1.00 | 3.82 | 5.49 | 5.49 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#007EFA
Tritanopia (blue-blind)
#4D8EAB
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #7e6dfd; /* rgb */ color: rgb(126, 109, 253); /* oklch */ color: oklch(62.6% 0.206 284.1);
Tailwind
colors: {
custom: {
50: '#ac97ff',
500: '#7e6dfd',
950: '#000000',
},
}SCSS
$custom: #7e6dfd; $custom-light: #ac97ff; $custom-dark: #000000;
JSON
{
"hex": "#7e6dfd",
"rgb": {
"r": 126,
"g": 109,
"b": 253
},
"hsl": {
"h": 247.083,
"s": 97.297,
"l": 70.98
},
"oklch": {
"l": 0.62565,
"c": 0.20621,
"h": 284.1
},
"luminance": 0.22465
}Semantic roles & 50–950 ramp
primary
#7E6DFD
secondary
#F2F6D0
accent
#E600CA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86