#7F7FF2#7F7FF2
#7F7FF2 is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.1% C 0.168 H 280.7°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7FF2 |
|---|---|
| RGB | rgb(127, 127, 242) |
| HSL | hsl(240, 82%, 72%) |
| HSV | hsv(240, 48%, 95%) |
| CMYK | cmyk(47.5%, 47.5%, 0%, 5.1%) |
| CIE-LAB | lab(58.13, 29.62, -58.00) |
| CIE-LCH | lch(58.13, 65.12, 297.05°) |
| OKLab | oklab(65.07% 0.0311 -0.1649) |
| OKLCH | oklch(65.07% 0.168 280.7) |
| XYZ | xyz(32.3639, 26.0999, 87.3196) |
| Luminance | 0.2610 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.06
Lavender Blue
#8B88F8
ΔE00 3.09
Cornflower
#6A79F7
ΔE00 3.72
Perrywinkle
#8F8CE7
ΔE00 5.00
Soft Blue
#6488EA
ΔE00 6.89
Mediumslateblue
#7B68EE
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7FF2 #F2F27F
analogous
#7FB9F2 #7F7FF2 #B97FF2
triadic
#7F7FF2 #F27F7F #7FF27F
tetradic
#7F7FF2 #F27FB9 #F2F27F #7FF2B9
square
#7F7FF2 #F27FB9 #F2F27F #7FF2B9
split-complementary
#7F7FF2 #F2B97F #B9F27F
monochromatic
#1717E0 #4747EC #7F7FF2 #B7B7F8 #E3E3FC
Accessibility & contrast
On white
3.38
#7F7FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.22
#7F7FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7FF2
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7FF2 | 1.00 | 3.38 | 6.22 | 6.22 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D90F6
Deuteranopia (green-blind)
#4488EF
Tritanopia (blue-blind)
#5598AD
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #7f7ff2; /* rgb */ color: rgb(127, 127, 242); /* oklch */ color: oklch(65.1% 0.168 280.7);
Tailwind
colors: {
custom: {
50: '#aaa4f7',
500: '#7f7ff2',
950: '#000000',
},
}SCSS
$custom: #7f7ff2; $custom-light: #aaa4f7; $custom-dark: #000000;
JSON
{
"hex": "#7f7ff2",
"rgb": {
"r": 127,
"g": 127,
"b": 242
},
"hsl": {
"h": 240,
"s": 81.56,
"l": 72.353
},
"oklch": {
"l": 0.65068,
"c": 0.16778,
"h": 280.7
},
"luminance": 0.26102
}Semantic roles & 50–950 ramp
primary
#7F7FF2
secondary
#F4F4D7
accent
#DE08DE
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#110F17
muted
#807F85