#7F7DFD#7F7DFD
#7F7DFD is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.4% C 0.185 H 280.7°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7DFD |
|---|---|
| RGB | rgb(127, 125, 253) |
| HSL | hsl(241, 97%, 74%) |
| HSV | hsv(241, 51%, 99%) |
| CMYK | cmyk(49.8%, 50.6%, 0%, 0.8%) |
| CIE-LAB | lab(58.29, 34.05, -63.82) |
| CIE-LCH | lch(58.29, 72.34, 298.08°) |
| OKLab | oklab(65.4% 0.0343 -0.182) |
| OKLCH | oklch(65.4% 0.185 280.7) |
| XYZ | xyz(33.8102, 26.2692, 96.1984) |
| Luminance | 0.2627 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.78
Lavender Blue
#8B88F8
ΔE00 3.58
Cornflower
#6A79F7
ΔE00 3.61
Perrywinkle
#8F8CE7
ΔE00 6.10
Mediumslateblue
#7B68EE
ΔE00 6.64
Soft Blue
#6488EA
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7DFD #FBFD7D
analogous
#7DBBFD #7F7DFD #BF7DFD
triadic
#7F7DFD #FD7F7D #7DFD7F
tetradic
#7F7DFD #FD7DBB #FBFD7D #7DFDBF
square
#7F7DFD #FD7DBB #FBFD7D #7DFDBF
split-complementary
#7F7DFD #FDBF7D #BBFD7D
monochromatic
#0804FB #4441FC #7F7DFD #BAB9FE #E1E1FF
Accessibility & contrast
On white
3.36
#7F7DFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.25
#7F7DFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7DFD
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7DFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7DFD | 1.00 | 3.36 | 6.25 | 6.25 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D91FF
Deuteranopia (green-blind)
#3187FA
Tritanopia (blue-blind)
#4D99B1
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #7f7dfd; /* rgb */ color: rgb(127, 125, 253); /* oklch */ color: oklch(65.4% 0.185 280.7);
Tailwind
colors: {
custom: {
50: '#aca2ff',
500: '#7f7dfd',
950: '#000000',
},
}SCSS
$custom: #7f7dfd; $custom-light: #aca2ff; $custom-dark: #000000;
JSON
{
"hex": "#7f7dfd",
"rgb": {
"r": 127,
"g": 125,
"b": 253
},
"hsl": {
"h": 240.938,
"s": 96.97,
"l": 74.118
},
"oklch": {
"l": 0.65396,
"c": 0.18519,
"h": 280.7
},
"luminance": 0.26271
}Semantic roles & 50–950 ramp
primary
#7F7DFD
secondary
#F6F7D4
accent
#E600E2
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86