#7A7CFC#7A7CFC
#7A7CFC is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.8% C 0.186 H 279.2°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7CFC |
|---|---|
| RGB | rgb(122, 124, 252) |
| HSL | hsl(239, 96%, 73%) |
| HSV | hsv(239, 52%, 99%) |
| CMYK | cmyk(51.6%, 50.8%, 0%, 1.2%) |
| CIE-LAB | lab(57.64, 33.31, -64.34) |
| CIE-LCH | lch(57.64, 72.46, 297.37°) |
| OKLab | oklab(64.79% 0.0297 -0.1836) |
| OKLCH | oklch(64.79% 0.186 279.2) |
| XYZ | xyz(32.7989, 25.5792, 95.2856) |
| Luminance | 0.2558 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.75
Periwinkle (survey)
#8E82FE
ΔE00 3.63
Lavender Blue
#8B88F8
ΔE00 4.19
Mediumslateblue
#7B68EE
ΔE00 6.47
Perrywinkle
#8F8CE7
ΔE00 6.58
Soft Blue
#6488EA
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7CFC #FCFA7A
analogous
#7ABDFC #7A7CFC #B97AFC
triadic
#7A7CFC #FC7A7C #7CFC7A
tetradic
#7A7CFC #FC7ABD #FCFA7A #7AFCB9
square
#7A7CFC #FC7ABD #FCFA7A #7AFCB9
split-complementary
#7A7CFC #FCB97A #BDFC7A
monochromatic
#0609F6 #3E41FB #7A7CFC #B6B7FD #E1E2FE
Accessibility & contrast
On white
3.43
#7A7CFC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.12
#7A7CFC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7CFC
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7CFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7CFC | 1.00 | 3.43 | 6.12 | 6.12 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A90FF
Deuteranopia (green-blind)
#2A85F9
Tritanopia (blue-blind)
#4298B0
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #7a7cfc; /* rgb */ color: rgb(122, 124, 252); /* oklch */ color: oklch(64.8% 0.186 279.2);
Tailwind
colors: {
custom: {
50: '#a9a2fe',
500: '#7a7cfc',
950: '#000000',
},
}SCSS
$custom: #7a7cfc; $custom-light: #a9a2fe; $custom-dark: #000000;
JSON
{
"hex": "#7a7cfc",
"rgb": {
"r": 122,
"g": 124,
"b": 252
},
"hsl": {
"h": 239.077,
"s": 95.588,
"l": 73.333
},
"oklch": {
"l": 0.64794,
"c": 0.18603,
"h": 279.2
},
"luminance": 0.25581
}Semantic roles & 50–950 ramp
primary
#7A7CFC
secondary
#F7F6D4
accent
#E200E6
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110F18
muted
#807E86