#7F6DFB#7F6DFB
#7F6DFB is a light, highly saturated blue. Relative luminance 0.224; OKLCH L 62.5% C 0.204 H 284.6°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #7F6DFB |
|---|---|
| RGB | rgb(127, 109, 251) |
| HSL | hsl(248, 95%, 71%) |
| HSV | hsv(248, 57%, 98%) |
| CMYK | cmyk(49.4%, 56.6%, 0%, 1.6%) |
| CIE-LAB | lab(54.46, 42.77, -68.89) |
| CIE-LCH | lch(54.46, 81.08, 301.83°) |
| OKLab | oklab(62.5% 0.0514 -0.197) |
| OKLCH | oklch(62.5% 0.204 284.6) |
| XYZ | xyz(31.6284, 22.4127, 93.9076) |
| Luminance | 0.2241 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.44
Cornflower
#6A79F7
ΔE00 5.58
Periwinkle (survey)
#8E82FE
ΔE00 6.20
Mediumpurple
#9370DB
ΔE00 6.41
Purpley
#8756E4
ΔE00 7.61
Lavender Blue
#8B88F8
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F6DFB #E9FB6D
analogous
#6DA2FB #7F6DFB #C66DFB
triadic
#7F6DFB #FB7F6D #6DFB7F
tetradic
#7F6DFB #FB6DA2 #E9FB6D #6DFBC6
square
#7F6DFB #FB6DA2 #E9FB6D #6DFBC6
split-complementary
#7F6DFB #FBC66D #A2FB6D
monochromatic
#2306E7 #4B31F9 #7F6DFB #B3A9FD #E5E1FE
Accessibility & contrast
On white
3.83
#7F6DFB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#7F6DFB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F6DFB
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F6DFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F6DFB | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007EF8
Tritanopia (blue-blind)
#518DAA
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #7f6dfb; /* rgb */ color: rgb(127, 109, 251); /* oklch */ color: oklch(62.5% 0.204 284.6);
Tailwind
colors: {
custom: {
50: '#ac97fd',
500: '#7f6dfb',
950: '#000000',
},
}SCSS
$custom: #7f6dfb; $custom-light: #ac97fd; $custom-dark: #000000;
JSON
{
"hex": "#7f6dfb",
"rgb": {
"r": 127,
"g": 109,
"b": 251
},
"hsl": {
"h": 247.606,
"s": 94.667,
"l": 70.588
},
"oklch": {
"l": 0.62504,
"c": 0.20357,
"h": 284.6
},
"luminance": 0.22414
}Semantic roles & 50–950 ramp
primary
#7F6DFB
secondary
#F0F5CF
accent
#E600C8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86