#7F7CF2#7F7CF2
#7F7CF2 is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.5% C 0.172 H 281.6°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7CF2 |
|---|---|
| RGB | rgb(127, 124, 242) |
| HSL | hsl(242, 82%, 72%) |
| HSV | hsv(242, 49%, 95%) |
| CMYK | cmyk(47.5%, 48.8%, 0%, 5.1%) |
| CIE-LAB | lab(57.40, 31.38, -59.17) |
| CIE-LCH | lch(57.40, 66.98, 297.94°) |
| OKLab | oklab(64.52% 0.0345 -0.1683) |
| OKLCH | oklch(64.52% 0.172 281.6) |
| XYZ | xyz(31.9822, 25.3365, 87.1924) |
| Luminance | 0.2534 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.24
Cornflower
#6A79F7
ΔE00 3.61
Lavender Blue
#8B88F8
ΔE00 3.79
Perrywinkle
#8F8CE7
ΔE00 5.65
Mediumslateblue
#7B68EE
ΔE00 6.06
Mediumpurple
#9370DB
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7CF2 #EFF27C
analogous
#7CB4F2 #7F7CF2 #BA7CF2
triadic
#7F7CF2 #F27F7C #7CF27F
tetradic
#7F7CF2 #F27CB4 #EFF27C #7CF2BA
square
#7F7CF2 #F27CB4 #EFF27C #7CF2BA
split-complementary
#7F7CF2 #F2BA7C #B4F27C
monochromatic
#1B16DE #4944EC #7F7CF2 #B5B4F8 #E4E3FC
Accessibility & contrast
On white
3.46
#7F7CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.07
#7F7CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7CF2
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7CF2 | 1.00 | 3.46 | 6.07 | 6.07 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#478EF6
Deuteranopia (green-blind)
#3F86EF
Tritanopia (blue-blind)
#5695AC
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #7f7cf2; /* rgb */ color: rgb(127, 124, 242); /* oklch */ color: oklch(64.5% 0.172 281.6);
Tailwind
colors: {
custom: {
50: '#aba2f7',
500: '#7f7cf2',
950: '#000000',
},
}SCSS
$custom: #7f7cf2; $custom-light: #aba2f7; $custom-dark: #000000;
JSON
{
"hex": "#7f7cf2",
"rgb": {
"r": 127,
"g": 124,
"b": 242
},
"hsl": {
"h": 241.525,
"s": 81.944,
"l": 71.765
},
"oklch": {
"l": 0.64518,
"c": 0.17182,
"h": 281.6
},
"luminance": 0.25338
}Semantic roles & 50–950 ramp
primary
#7F7CF2
secondary
#F3F4D6
accent
#DE07D9
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110F17
muted
#807E85