#7B7DFD#7B7DFD
#7B7DFD is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.1% C 0.186 H 279.2°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7B7DFD |
|---|---|
| RGB | rgb(123, 125, 253) |
| HSL | hsl(239, 97%, 74%) |
| HSV | hsv(239, 51%, 99%) |
| CMYK | cmyk(51.4%, 50.6%, 0%, 0.8%) |
| CIE-LAB | lab(58.01, 33.23, -64.29) |
| CIE-LCH | lch(58.01, 72.37, 297.33°) |
| OKLab | oklab(65.11% 0.0298 -0.1835) |
| OKLCH | oklch(65.11% 0.186 279.2) |
| XYZ | xyz(33.2261, 25.9680, 96.1710) |
| Luminance | 0.2597 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.97
Periwinkle (survey)
#8E82FE
ΔE00 3.41
Lavender Blue
#8B88F8
ΔE00 3.91
Perrywinkle
#8F8CE7
ΔE00 6.38
Mediumslateblue
#7B68EE
ΔE00 6.76
Soft Blue
#6488EA
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7DFD #FDFB7B
analogous
#7BBEFD #7B7DFD #BA7BFD
triadic
#7B7DFD #FD7B7D #7DFD7B
tetradic
#7B7DFD #FD7BBE #FDFB7B #7BFDBA
square
#7B7DFD #FD7BBE #FDFB7B #7BFDBA
split-complementary
#7B7DFD #FDBA7B #BEFD7B
monochromatic
#0408FA #3F42FC #7B7DFD #B7B8FE #E1E1FF
Accessibility & contrast
On white
3.39
#7B7DFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.19
#7B7DFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B7DFD
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7DFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B7DFD | 1.00 | 3.39 | 6.19 | 6.19 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C91FF
Deuteranopia (green-blind)
#2C86FA
Tritanopia (blue-blind)
#4499B1
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #7b7dfd; /* rgb */ color: rgb(123, 125, 253); /* oklch */ color: oklch(65.1% 0.186 279.2);
Tailwind
colors: {
custom: {
50: '#a9a2ff',
500: '#7b7dfd',
950: '#000000',
},
}SCSS
$custom: #7b7dfd; $custom-light: #a9a2ff; $custom-dark: #000000;
JSON
{
"hex": "#7b7dfd",
"rgb": {
"r": 123,
"g": 125,
"b": 253
},
"hsl": {
"h": 239.077,
"s": 97.015,
"l": 73.725
},
"oklch": {
"l": 0.6511,
"c": 0.18589,
"h": 279.2
},
"luminance": 0.2597
}Semantic roles & 50–950 ramp
primary
#7B7DFD
secondary
#F7F6D4
accent
#E200E6
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86