#7E7BF9#7E7BF9

#7E7BF9 is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.7% C 0.183 H 281.1°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7E7BF9
RGBrgb(126, 123, 249)
HSLhsl(241, 91%, 73%)
HSVhsv(241, 51%, 98%)
CMYKcmyk(49.4%, 50.6%, 0%, 2.4%)
CIE-LABlab(57.50, 33.83, -62.89)
CIE-LCHlch(57.50, 71.41, 298.28°)
OKLaboklab(64.71% 0.0351 -0.1793)
OKLCHoklch(64.71% 0.183 281.1)
XYZxyz(32.7808, 25.4393, 92.7871)
Luminance0.2544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7BF9 #F6F97B
analogous
#7BB7F9 #7E7BF9 #BD7BF9
triadic
#7E7BF9 #F97E7B #7BF97E
tetradic
#7E7BF9 #F97BB7 #F6F97B #7BF9BD
square
#7E7BF9 #F97BB7 #F6F97B #7BF9BD
split-complementary
#7E7BF9 #F9BD7B #B7F97B
monochromatic
#100BEF #4540F6 #7E7BF9 #B7B6FC #E2E2FE

Accessibility & contrast

On white

3.45
#7E7BF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#7E7BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7BF9
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7BF9#FFFFFF#000000##000000
##7E7BF91.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8FFD
Deuteranopia (green-blind)
#3186F6
Tritanopia (blue-blind)
#4F97AE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7e7bf9;
/* rgb */ color: rgb(126, 123, 249);
/* oklch */ color: oklch(64.7% 0.183 281.1);
Tailwind
colors: {
  custom: {
    50: '#aba1fc',
    500: '#7e7bf9',
    950: '#000000',
  },
}
SCSS
$custom: #7e7bf9;
$custom-light: #aba1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7bf9",
  "rgb": {
    "r": 126,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 241.429,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.64707,
    "c": 0.18268,
    "h": 281.1
  },
  "luminance": 0.25441
}

Semantic roles & 50–950 ramp

primary
#7E7BF9
secondary
#F5F6D5
accent
#E600E0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #7E7BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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