#7F7AFE#7F7AFE
#7F7AFE is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.9% C 0.190 H 281.4°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7AFE |
|---|---|
| RGB | rgb(127, 122, 254) |
| HSL | hsl(242, 99%, 74%) |
| HSV | hsv(242, 52%, 100%) |
| CMYK | cmyk(50%, 52%, 0%, 0.4%) |
| CIE-LAB | lab(57.64, 36.11, -65.42) |
| CIE-LCH | lch(57.64, 74.72, 298.90°) |
| OKLab | oklab(64.93% 0.0376 -0.1867) |
| OKLCH | oklch(64.93% 0.19 281.4) |
| XYZ | xyz(33.5959, 25.5850, 96.9149) |
| Luminance | 0.2559 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.16
Cornflower
#6A79F7
ΔE00 3.67
Lavender Blue
#8B88F8
ΔE00 4.34
Mediumslateblue
#7B68EE
ΔE00 5.84
Perrywinkle
#8F8CE7
ΔE00 6.77
Mediumpurple
#9370DB
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7AFE #F9FE7A
analogous
#7AB7FE #7F7AFE #C17AFE
triadic
#7F7AFE #FE7F7A #7AFE7F
tetradic
#7F7AFE #FE7AB7 #F9FE7A #7AFEC1
square
#7F7AFE #FE7AB7 #F9FE7A #7AFEC1
split-complementary
#7F7AFE #FEC17A #B7FE7A
monochromatic
#0B02FC #453DFE #7F7AFE #B9B7FE #E2E1FF
Accessibility & contrast
On white
3.43
#7F7AFE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.12
#7F7AFE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7AFE
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7AFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7AFE | 1.00 | 3.43 | 6.12 | 6.12 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#348FFF
Deuteranopia (green-blind)
#2686FB
Tritanopia (blue-blind)
#4D97B0
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #7f7afe; /* rgb */ color: rgb(127, 122, 254); /* oklch */ color: oklch(64.9% 0.190 281.4);
Tailwind
colors: {
custom: {
50: '#aca0ff',
500: '#7f7afe',
950: '#000000',
},
}SCSS
$custom: #7f7afe; $custom-light: #aca0ff; $custom-dark: #000000;
JSON
{
"hex": "#7f7afe",
"rgb": {
"r": 127,
"g": 122,
"b": 254
},
"hsl": {
"h": 242.273,
"s": 98.507,
"l": 73.725
},
"oklch": {
"l": 0.64928,
"c": 0.19045,
"h": 281.4
},
"luminance": 0.25587
}Semantic roles & 50–950 ramp
primary
#7F7AFE
secondary
#F6F7D4
accent
#E600DD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86