#7E7CFB#7E7CFB

#7E7CFB is a light, vivid blue. Relative luminance 0.258; OKLCH L 65.0% C 0.184 H 280.7°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7E7CFB
RGBrgb(126, 124, 251)
HSLhsl(241, 94%, 74%)
HSVhsv(241, 51%, 98%)
CMYKcmyk(49.8%, 50.6%, 0%, 1.6%)
CIE-LABlab(57.86, 33.83, -63.42)
CIE-LCHlch(57.86, 71.88, 298.08°)
OKLaboklab(65.02% 0.0341 -0.1808)
OKLCHoklch(65.02% 0.184 280.7)
XYZxyz(33.2191, 25.8141, 94.4803)
Luminance0.2582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7CFB #F9FB7C
analogous
#7CB9FB #7E7CFB #BD7CFB
triadic
#7E7CFB #FB7E7C #7CFB7E
tetradic
#7E7CFB #FB7CB9 #F9FB7C #7CFBBD
square
#7E7CFB #FB7CB9 #F9FB7C #7CFBBD
split-complementary
#7E7CFB #FBBD7C #B9FB7C
monochromatic
#0B07F5 #4441F9 #7E7CFB #B8B7FD #E2E1FE

Accessibility & contrast

On white

3.41
#7E7CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#7E7CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7CFB
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7CFB#FFFFFF#000000##000000
##7E7CFB1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D90FF
Deuteranopia (green-blind)
#3186F8
Tritanopia (blue-blind)
#4D98B0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7e7cfb;
/* rgb */ color: rgb(126, 124, 251);
/* oklch */ color: oklch(65.0% 0.184 280.7);
Tailwind
colors: {
  custom: {
    50: '#aba2fd',
    500: '#7e7cfb',
    950: '#000000',
  },
}
SCSS
$custom: #7e7cfb;
$custom-light: #aba2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7cfb",
  "rgb": {
    "r": 126,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 240.945,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.65015,
    "c": 0.18401,
    "h": 280.7
  },
  "luminance": 0.25816
}

Semantic roles & 50–950 ramp

primary
#7E7CFB
secondary
#F6F6D5
accent
#E600E2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F18
muted
#807E86

Preview Lab

Preview with #7E7CFB

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7E7CFB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva