#7D7FF2#7D7FF2
#7D7FF2 is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.9% C 0.168 H 279.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7D7FF2 |
|---|---|
| RGB | rgb(125, 127, 242) |
| HSL | hsl(239, 82%, 72%) |
| HSV | hsv(239, 48%, 95%) |
| CMYK | cmyk(48.3%, 47.5%, 0%, 5.1%) |
| CIE-LAB | lab(57.99, 29.17, -58.24) |
| CIE-LCH | lch(57.99, 65.14, 296.61°) |
| OKLab | oklab(64.92% 0.0288 -0.1656) |
| OKLCH | oklch(64.92% 0.168 279.9) |
| XYZ | xyz(32.0689, 25.9478, 87.3058) |
| Luminance | 0.2595 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender Blue
#8B88F8
ΔE00 3.29
Periwinkle (survey)
#8E82FE
ΔE00 3.38
Cornflower
#6A79F7
ΔE00 3.40
Perrywinkle
#8F8CE7
ΔE00 5.19
Soft Blue
#6488EA
ΔE00 6.54
Mediumslateblue
#7B68EE
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7FF2 #F2F07D
analogous
#7DBAF2 #7D7FF2 #B57DF2
triadic
#7D7FF2 #F27D7F #7FF27D
tetradic
#7D7FF2 #F27DBA #F2F07D #7DF2B5
square
#7D7FF2 #F27DBA #F2F07D #7DF2B5
split-complementary
#7D7FF2 #F2B57D #BAF27D
monochromatic
#161ADE #4548EC #7D7FF2 #B5B6F8 #E3E4FC
Accessibility & contrast
On white
3.39
#7D7FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.19
#7D7FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D7FF2
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D7FF2 | 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)
#4C90F6
Deuteranopia (green-blind)
#4387EF
Tritanopia (blue-blind)
#5198AD
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #7d7ff2; /* rgb */ color: rgb(125, 127, 242); /* oklch */ color: oklch(64.9% 0.168 279.9);
Tailwind
colors: {
custom: {
50: '#a9a4f7',
500: '#7d7ff2',
950: '#000000',
},
}SCSS
$custom: #7d7ff2; $custom-light: #a9a4f7; $custom-dark: #000000;
JSON
{
"hex": "#7d7ff2",
"rgb": {
"r": 125,
"g": 127,
"b": 242
},
"hsl": {
"h": 238.974,
"s": 81.818,
"l": 71.961
},
"oklch": {
"l": 0.64923,
"c": 0.16811,
"h": 279.9
},
"luminance": 0.2595
}Semantic roles & 50–950 ramp
primary
#7D7FF2
secondary
#F4F4D7
accent
#DB07DE
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85