#7F78EA#7F78EA
#7F78EA is a light, vivid blue. Relative luminance 0.239; OKLCH L 63.3% C 0.166 H 283.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7F78EA |
|---|---|
| RGB | rgb(127, 120, 234) |
| HSL | hsl(244, 73%, 69%) |
| HSV | hsv(244, 49%, 92%) |
| CMYK | cmyk(45.7%, 48.7%, 0%, 8.2%) |
| CIE-LAB | lab(55.97, 31.40, -57.01) |
| CIE-LCH | lch(55.97, 65.09, 298.85°) |
| OKLab | oklab(63.29% 0.0384 -0.162) |
| OKLCH | oklch(63.29% 0.166 283.3) |
| XYZ | xyz(30.3158, 23.8841, 80.8387) |
| Luminance | 0.2389 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 4.21
Periwinkle (survey)
#8E82FE
ΔE00 4.38
Mediumslateblue
#7B68EE
ΔE00 4.85
Lavender Blue
#8B88F8
ΔE00 5.11
Mediumpurple
#9370DB
ΔE00 5.94
Perrywinkle
#8F8CE7
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F78EA #E3EA78
analogous
#78AAEA #7F78EA #B878EA
triadic
#7F78EA #EA7F78 #78EA7F
tetradic
#7F78EA #EA78AA #E3EA78 #78EAB8
square
#7F78EA #EA78AA #E3EA78 #78EAB8
split-complementary
#7F78EA #EAB878 #AAEA78
monochromatic
#2A1FC8 #4D43E2 #7F78EA #B1ADF2 #E3E2FA
Accessibility & contrast
On white
3.64
#7F78EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#7F78EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F78EA
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F78EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F78EA | 1.00 | 3.64 | 5.78 | 5.78 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#468AEE
Deuteranopia (green-blind)
#4082E7
Tritanopia (blue-blind)
#5B90A6
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #7f78ea; /* rgb */ color: rgb(127, 120, 234); /* oklch */ color: oklch(63.3% 0.166 283.3);
Tailwind
colors: {
custom: {
50: '#aa9ff1',
500: '#7f78ea',
950: '#000000',
},
}SCSS
$custom: #7f78ea; $custom-light: #aa9ff1; $custom-dark: #000000;
JSON
{
"hex": "#7f78ea",
"rgb": {
"r": 127,
"g": 120,
"b": 234
},
"hsl": {
"h": 243.684,
"s": 73.077,
"l": 69.412
},
"oklch": {
"l": 0.63293,
"c": 0.16649,
"h": 283.3
},
"luminance": 0.23885
}Semantic roles & 50–950 ramp
primary
#7F78EA
secondary
#EDEFCE
accent
#D510C9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85