#7E7BF4#7E7BF4

#7E7BF4 is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.4% C 0.176 H 281.4°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7E7BF4
RGBrgb(126, 123, 244)
HSLhsl(241, 85%, 72%)
HSVhsv(241, 50%, 96%)
CMYKcmyk(48.4%, 49.6%, 0%, 4.3%)
CIE-LABlab(57.20, 32.34, -60.60)
CIE-LCHlch(57.20, 68.69, 298.09°)
OKLaboklab(64.39% 0.0347 -0.1726)
OKLCHoklch(64.39% 0.176 281.4)
XYZxyz(32.0113, 25.1315, 88.7345)
Luminance0.2513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7BF4 #F1F47B
analogous
#7BB4F4 #7E7BF4 #BB7BF4
triadic
#7E7BF4 #F47E7B #7BF47E
tetradic
#7E7BF4 #F47BB4 #F1F47B #7BF4BB
square
#7E7BF4 #F47BB4 #F1F47B #7BF4BB
split-complementary
#7E7BF4 #F4BB7B #B4F47B
monochromatic
#1813E2 #4743EF #7E7BF4 #B5B3F9 #E3E3FD

Accessibility & contrast

On white

3.48
#7E7BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#7E7BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7BF4
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7BF4#FFFFFF#000000##000000
##7E7BF41.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#428EF8
Deuteranopia (green-blind)
#3985F1
Tritanopia (blue-blind)
#5295AC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7e7bf4;
/* rgb */ color: rgb(126, 123, 244);
/* oklch */ color: oklch(64.4% 0.176 281.4);
Tailwind
colors: {
  custom: {
    50: '#aaa1f8',
    500: '#7e7bf4',
    950: '#000000',
  },
}
SCSS
$custom: #7e7bf4;
$custom-light: #aaa1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7bf4",
  "rgb": {
    "r": 126,
    "g": 123,
    "b": 244
  },
  "hsl": {
    "h": 241.488,
    "s": 84.615,
    "l": 71.961
  },
  "oklch": {
    "l": 0.64388,
    "c": 0.17601,
    "h": 281.4
  },
  "luminance": 0.25133
}

Semantic roles & 50–950 ramp

primary
#7E7BF4
secondary
#F4F5D6
accent
#E104DC
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #7E7BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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