#7F7FE2#7F7FE2
#7F7FE2 is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.1% C 0.146 H 281.5°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7FE2 |
|---|---|
| RGB | rgb(127, 127, 226) |
| HSL | hsl(240, 63%, 69%) |
| HSV | hsv(240, 44%, 89%) |
| CMYK | cmyk(43.8%, 43.8%, 0%, 11.4%) |
| CIE-LAB | lab(57.25, 24.94, -50.50) |
| CIE-LCH | lch(57.25, 56.33, 296.28°) |
| OKLab | oklab(64.12% 0.029 -0.1429) |
| OKLCH | oklch(64.12% 0.146 281.5) |
| XYZ | xyz(30.0652, 25.1804, 75.2129) |
| Luminance | 0.2518 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender Blue
#8B88F8
ΔE00 4.12
Perrywinkle
#8F8CE7
ΔE00 4.46
Periwinkle (survey)
#8E82FE
ΔE00 4.57
Cornflower
#6A79F7
ΔE00 4.82
Soft Blue
#6488EA
ΔE00 7.11
Mediumpurple
#9370DB
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7FE2 #E2E27F
analogous
#7FB1E2 #7F7FE2 #B17FE2
triadic
#7F7FE2 #E27F7F #7FE27F
tetradic
#7F7FE2 #E27FB1 #E2E27F #7FE2B1
square
#7F7FE2 #E27FB1 #E2E27F #7FE2B1
split-complementary
#7F7FE2 #E2B17F #B1E27F
monochromatic
#2B2BBC #4D4DD7 #7F7FE2 #B1B1ED #E3E3F9
Accessibility & contrast
On white
3.48
#7F7FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.04
#7F7FE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7FE2
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7FE2 | 1.00 | 3.48 | 6.04 | 6.04 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#598DE6
Deuteranopia (green-blind)
#5386E0
Tritanopia (blue-blind)
#5F93A6
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #7f7fe2; /* rgb */ color: rgb(127, 127, 226); /* oklch */ color: oklch(64.1% 0.146 281.5);
Tailwind
colors: {
custom: {
50: '#a9a4eb',
500: '#7f7fe2',
950: '#000000',
},
}SCSS
$custom: #7f7fe2; $custom-light: #a9a4eb; $custom-dark: #000000;
JSON
{
"hex": "#7f7fe2",
"rgb": {
"r": 127,
"g": 127,
"b": 226
},
"hsl": {
"h": 240,
"s": 63.057,
"l": 69.216
},
"oklch": {
"l": 0.64116,
"c": 0.14581,
"h": 281.5
},
"luminance": 0.25182
}Semantic roles & 50–950 ramp
primary
#7F7FE2
secondary
#EDEDD0
accent
#CB1BCB
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F16
muted
#7F7F84