#7F7BFD#7F7BFD
#7F7BFD is a light, vivid blue. Relative luminance 0.258; OKLCH L 65.0% C 0.188 H 281.2°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7BFD |
|---|---|
| RGB | rgb(127, 123, 253) |
| HSL | hsl(242, 97%, 74%) |
| HSV | hsv(242, 51%, 99%) |
| CMYK | cmyk(49.8%, 51.4%, 0%, 0.8%) |
| CIE-LAB | lab(57.82, 35.22, -64.59) |
| CIE-LCH | lch(57.82, 73.57, 298.61°) |
| OKLab | oklab(65.04% 0.0365 -0.1842) |
| OKLCH | oklch(65.04% 0.188 281.2) |
| XYZ | xyz(33.5596, 25.7679, 96.1148) |
| Luminance | 0.2577 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.01
Cornflower
#6A79F7
ΔE00 3.61
Lavender Blue
#8B88F8
ΔE00 4.06
Mediumslateblue
#7B68EE
ΔE00 6.07
Perrywinkle
#8F8CE7
ΔE00 6.50
Mediumpurple
#9370DB
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7BFD #F9FD7B
analogous
#7BB8FD #7F7BFD #C07BFD
triadic
#7F7BFD #FD7F7B #7BFD7F
tetradic
#7F7BFD #FD7BB8 #F9FD7B #7BFDC0
square
#7F7BFD #FD7BB8 #F9FD7B #7BFDC0
split-complementary
#7F7BFD #FDC07B #B8FD7B
monochromatic
#0B04FA #453FFC #7F7BFD #B9B7FE #E2E1FF
Accessibility & contrast
On white
3.41
#7F7BFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#7F7BFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7BFD
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7BFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7BFD | 1.00 | 3.41 | 6.15 | 6.15 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3890FF
Deuteranopia (green-blind)
#2B86FA
Tritanopia (blue-blind)
#4E98B0
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #7f7bfd; /* rgb */ color: rgb(127, 123, 253); /* oklch */ color: oklch(65.0% 0.188 281.2);
Tailwind
colors: {
custom: {
50: '#aca1ff',
500: '#7f7bfd',
950: '#000000',
},
}SCSS
$custom: #7f7bfd; $custom-light: #aca1ff; $custom-dark: #000000;
JSON
{
"hex": "#7f7bfd",
"rgb": {
"r": 127,
"g": 123,
"b": 253
},
"hsl": {
"h": 241.846,
"s": 97.015,
"l": 73.725
},
"oklch": {
"l": 0.65039,
"c": 0.18782,
"h": 281.2
},
"luminance": 0.2577
}Semantic roles & 50–950 ramp
primary
#7F7BFD
secondary
#F6F7D4
accent
#E600DE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F18
muted
#807E86