#7A78CD#7A78CD
#7A78CD is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.2% C 0.127 H 283.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #7A78CD |
|---|---|
| RGB | rgb(122, 120, 205) |
| HSL | hsl(241, 46%, 64%) |
| HSV | hsv(241, 41%, 80%) |
| CMYK | cmyk(40.5%, 41.5%, 0%, 19.6%) |
| CIE-LAB | lab(54.00, 21.83, -43.85) |
| CIE-LCH | lch(54.00, 48.98, 296.47°) |
| OKLab | oklab(61.19% 0.0287 -0.1236) |
| OKLCH | oklch(61.19% 0.127 283.1) |
| XYZ | xyz(25.7588, 21.9773, 60.6306) |
| Luminance | 0.2198 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumpurple
#9370DB
ΔE00 6.61
Cornflower
#6A79F7
ΔE00 6.88
Mediumslateblue
#7B68EE
ΔE00 7.13
Perrywinkle
#8F8CE7
ΔE00 7.24
Lavender Blue
#8B88F8
ΔE00 7.78
Periwinkle (survey)
#8E82FE
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A78CD #CBCD78
analogous
#78A0CD #7A78CD #A478CD
triadic
#7A78CD #CD7A78 #78CD7A
tetradic
#7A78CD #CD78A0 #CBCD78 #78CDA4
square
#7A78CD #CD78A0 #CBCD78 #78CDA4
split-complementary
#7A78CD #CDA478 #A0CD78
monochromatic
#393794 #4E4BBC #7A78CD #A6A5DE #D2D1EE
Accessibility & contrast
On white
3.89
#7A78CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#7A78CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A78CD
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A78CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A78CD | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A84D0
Deuteranopia (green-blind)
#567ECB
Tritanopia (blue-blind)
#618999
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #7a78cd; /* rgb */ color: rgb(122, 120, 205); /* oklch */ color: oklch(61.2% 0.127 283.1);
Tailwind
colors: {
custom: {
50: '#a49fdc',
500: '#7a78cd',
950: '#000000',
},
}SCSS
$custom: #7a78cd; $custom-light: #a49fdc; $custom-dark: #000000;
JSON
{
"hex": "#7a78cd",
"rgb": {
"r": 122,
"g": 120,
"b": 205
},
"hsl": {
"h": 241.412,
"s": 45.946,
"l": 63.725
},
"oklch": {
"l": 0.61193,
"c": 0.12686,
"h": 283.1
},
"luminance": 0.21978
}Semantic roles & 50–950 ramp
primary
#7A78CD
secondary
#DFDFC1
accent
#B92CB6
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83