#7E8BFC#7E8BFC

#7E8BFC is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.9% C 0.166 H 276.1°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7E8BFC
RGBrgb(126, 139, 252)
HSLhsl(234, 95%, 74%)
HSVhsv(234, 50%, 99%)
CMYKcmyk(50%, 44.8%, 0%, 1.2%)
CIE-LABlab(61.59, 25.30, -57.99)
CIE-LCHlch(61.59, 63.27, 293.57°)
OKLaboklab(67.85% 0.0176 -0.1648)
OKLCHoklch(67.85% 0.166 276.1)
XYZxyz(35.4020, 29.9270, 95.9876)
Luminance0.2993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8BFC #FCEF7E
analogous
#7ECAFC #7E8BFC #B07EFC
triadic
#7E8BFC #FC7E8B #8BFC7E
tetradic
#7E8BFC #FC7ECA #FCEF7E #7EFCB0
square
#7E8BFC #FC7ECA #FCEF7E #7EFCB0
split-complementary
#7E8BFC #FCB07E #CAFC7E
monochromatic
#061FF9 #4255FB #7E8BFC #BAC1FD #E1E4FE

Accessibility & contrast

On white

3.01
#7E8BFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#7E8BFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8BFC
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8BFC#FFFFFF#000000##000000
##7E8BFC1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#4E90FA
Tritanopia (blue-blind)
#4AA3B7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7e8bfc;
/* rgb */ color: rgb(126, 139, 252);
/* oklch */ color: oklch(67.9% 0.166 276.1);
Tailwind
colors: {
  custom: {
    50: '#aaacfe',
    500: '#7e8bfc',
    950: '#000000',
  },
}
SCSS
$custom: #7e8bfc;
$custom-light: #aaacfe;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8bfc",
  "rgb": {
    "r": 126,
    "g": 139,
    "b": 252
  },
  "hsl": {
    "h": 233.81,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.67852,
    "c": 0.16573,
    "h": 276.1
  },
  "luminance": 0.29929
}

Semantic roles & 50–950 ramp

primary
#7E8BFC
secondary
#F7F3D4
accent
#CE00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #7E8BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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