#7F7DEC#7F7DEC
#7F7DEC is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.3% C 0.162 H 281.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7DEC |
|---|---|
| RGB | rgb(127, 125, 236) |
| HSL | hsl(241, 74%, 71%) |
| HSV | hsv(241, 47%, 93%) |
| CMYK | cmyk(46.2%, 47%, 0%, 7.5%) |
| CIE-LAB | lab(57.30, 29.03, -56.00) |
| CIE-LCH | lch(57.30, 63.08, 297.41°) |
| OKLab | oklab(64.33% 0.0327 -0.159) |
| OKLCH | oklch(64.33% 0.162 281.6) |
| XYZ | xyz(31.2218, 25.2339, 82.5661) |
| Luminance | 0.2524 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.60
Lavender Blue
#8B88F8
ΔE00 3.76
Cornflower
#6A79F7
ΔE00 3.90
Perrywinkle
#8F8CE7
ΔE00 5.16
Mediumslateblue
#7B68EE
ΔE00 6.37
Mediumpurple
#9370DB
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7DEC #EAEC7D
analogous
#7DB2EC #7F7DEC #B67DEC
triadic
#7F7DEC #EC7F7D #7DEC7F
tetradic
#7F7DEC #EC7DB2 #EAEC7D #7DECB6
square
#7F7DEC #EC7DB2 #EAEC7D #7DECB6
split-complementary
#7F7DEC #ECB67D #B2EC7D
monochromatic
#221ED0 #4A48E4 #7F7DEC #B4B2F4 #E5E4FB
Accessibility & contrast
On white
3.47
#7F7DEC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.05
#7F7DEC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7DEC
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7DEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7DEC | 1.00 | 3.47 | 6.05 | 6.05 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E8EF0
Deuteranopia (green-blind)
#4786EA
Tritanopia (blue-blind)
#5994A9
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #7f7dec; /* rgb */ color: rgb(127, 125, 236); /* oklch */ color: oklch(64.3% 0.162 281.6);
Tailwind
colors: {
custom: {
50: '#aaa2f3',
500: '#7f7dec',
950: '#000000',
},
}SCSS
$custom: #7f7dec; $custom-light: #aaa2f3; $custom-dark: #000000;
JSON
{
"hex": "#7f7dec",
"rgb": {
"r": 127,
"g": 125,
"b": 236
},
"hsl": {
"h": 241.081,
"s": 74.497,
"l": 70.784
},
"oklch": {
"l": 0.64333,
"c": 0.16234,
"h": 281.6
},
"luminance": 0.25235
}Semantic roles & 50–950 ramp
primary
#7F7DEC
secondary
#F1F1D3
accent
#D70FD3
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#100F17
muted
#7F7F85