#7F76E1#7F76E1
#7F76E1 is a light, vivid blue. Relative luminance 0.229; OKLCH L 62.4% C 0.157 H 284.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #7F76E1 |
|---|---|
| RGB | rgb(127, 118, 225) |
| HSL | hsl(245, 64%, 67%) |
| HSV | hsv(245, 48%, 88%) |
| CMYK | cmyk(43.6%, 47.6%, 0%, 11.8%) |
| CIE-LAB | lab(54.97, 29.98, -53.57) |
| CIE-LCH | lch(54.97, 61.39, 299.23°) |
| OKLab | oklab(62.38% 0.0398 -0.1519) |
| OKLCH | oklch(62.38% 0.157 284.7) |
| XYZ | xyz(28.8175, 22.9039, 74.1221) |
| Luminance | 0.2291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.61
Mediumpurple
#9370DB
ΔE00 5.12
Cornflower
#6A79F7
ΔE00 5.18
Periwinkle (survey)
#8E82FE
ΔE00 5.53
Lavender Blue
#8B88F8
ΔE00 6.16
Perrywinkle
#8F8CE7
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F76E1 #D8E176
analogous
#76A2E1 #7F76E1 #B576E1
triadic
#7F76E1 #E17F76 #76E17F
tetradic
#7F76E1 #E176A2 #D8E176 #76E1B5
square
#7F76E1 #E176A2 #D8E176 #76E1B5
split-complementary
#7F76E1 #E1B576 #A2E176
monochromatic
#3428B5 #5044D6 #7F76E1 #AEA8EC #DDDAF7
Accessibility & contrast
On white
3.76
#7F76E1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#7F76E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F76E1
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F76E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F76E1 | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A87E5
Deuteranopia (green-blind)
#4780DF
Tritanopia (blue-blind)
#608CA1
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #7f76e1; /* rgb */ color: rgb(127, 118, 225); /* oklch */ color: oklch(62.4% 0.157 284.7);
Tailwind
colors: {
custom: {
50: '#a99deb',
500: '#7f76e1',
950: '#000000',
},
}SCSS
$custom: #7f76e1; $custom-light: #a99deb; $custom-dark: #000000;
JSON
{
"hex": "#7f76e1",
"rgb": {
"r": 127,
"g": 118,
"b": 225
},
"hsl": {
"h": 245.047,
"s": 64.072,
"l": 67.255
},
"oklch": {
"l": 0.62376,
"c": 0.15706,
"h": 284.7
},
"luminance": 0.22905
}Semantic roles & 50–950 ramp
primary
#7F76E1
secondary
#E7EAC9
accent
#CC1ABD
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84