#7F6DFD#7F6DFD
#7F6DFD is a light, highly saturated blue. Relative luminance 0.225; OKLCH L 62.6% C 0.206 H 284.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7F6DFD |
|---|---|
| RGB | rgb(127, 109, 253) |
| HSL | hsl(248, 97%, 71%) |
| HSV | hsv(248, 57%, 99%) |
| CMYK | cmyk(49.8%, 56.9%, 0%, 0.8%) |
| CIE-LAB | lab(54.59, 43.35, -69.78) |
| CIE-LCH | lch(54.59, 82.15, 301.85°) |
| OKLab | oklab(62.64% 0.0513 -0.1996) |
| OKLCH | oklch(62.64% 0.206 284.4) |
| XYZ | xyz(31.9454, 22.5395, 95.5768) |
| Luminance | 0.2254 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.64
Cornflower
#6A79F7
ΔE00 5.58
Periwinkle (survey)
#8E82FE
ΔE00 6.17
Mediumpurple
#9370DB
ΔE00 6.59
Purpley
#8756E4
ΔE00 7.74
Lavender Blue
#8B88F8
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F6DFD #EBFD6D
analogous
#6DA3FD #7F6DFD #C76DFD
triadic
#7F6DFD #FD7F6D #6DFD7F
tetradic
#7F6DFD #FD6DA3 #EBFD6D #6DFDC7
square
#7F6DFD #FD6DA3 #EBFD6D #6DFDC7
split-complementary
#7F6DFD #FDC76D #A3FD6D
monochromatic
#2003EC #4A31FC #7F6DFD #B4A9FE #E5E1FF
Accessibility & contrast
On white
3.81
#7F6DFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#7F6DFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F6DFD
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F6DFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F6DFD | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#007EFA
Tritanopia (blue-blind)
#4F8EAB
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #7f6dfd; /* rgb */ color: rgb(127, 109, 253); /* oklch */ color: oklch(62.6% 0.206 284.4);
Tailwind
colors: {
custom: {
50: '#ad97ff',
500: '#7f6dfd',
950: '#000000',
},
}SCSS
$custom: #7f6dfd; $custom-light: #ad97ff; $custom-dark: #000000;
JSON
{
"hex": "#7f6dfd",
"rgb": {
"r": 127,
"g": 109,
"b": 253
},
"hsl": {
"h": 247.5,
"s": 97.297,
"l": 70.98
},
"oklch": {
"l": 0.62644,
"c": 0.2061,
"h": 284.4
},
"luminance": 0.22541
}Semantic roles & 50–950 ramp
primary
#7F6DFD
secondary
#F1F6D0
accent
#E600C9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86