#7E8BF1#7E8BF1

#7E8BF1 is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.2% C 0.151 H 276.1°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#7E8BF1
RGBrgb(126, 139, 241)
HSLhsl(233, 80%, 72%)
HSVhsv(233, 48%, 95%)
CMYKcmyk(47.7%, 42.3%, 0%, 5.5%)
CIE-LABlab(61.00, 22.02, -52.88)
CIE-LCHlch(61.00, 57.28, 292.61°)
OKLaboklab(67.21% 0.016 -0.1498)
OKLCHoklch(67.21% 0.151 276.1)
XYZxyz(33.7090, 29.2498, 87.0716)
Luminance0.2925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8BF1 #F1E47E
analogous
#7EC5F1 #7E8BF1 #AA7EF1
triadic
#7E8BF1 #F17E8B #8BF17E
tetradic
#7E8BF1 #F17EC5 #F1E47E #7EF1AA
square
#7E8BF1 #F17EC5 #F1E47E #7EF1AA
split-complementary
#7E8BF1 #F1AA7E #C5F17E
monochromatic
#182EDD #4759EB #7E8BF1 #B5BDF7 #E3E6FC

Accessibility & contrast

On white

3.07
#7E8BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#7E8BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8BF1
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8BF1#FFFFFF#000000##000000
##7E8BF11.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F5
Deuteranopia (green-blind)
#588FEF
Tritanopia (blue-blind)
#52A0B2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7e8bf1;
/* rgb */ color: rgb(126, 139, 241);
/* oklch */ color: oklch(67.2% 0.151 276.1);
Tailwind
colors: {
  custom: {
    50: '#a9acf6',
    500: '#7e8bf1',
    950: '#000000',
  },
}
SCSS
$custom: #7e8bf1;
$custom-light: #a9acf6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8bf1",
  "rgb": {
    "r": 126,
    "g": 139,
    "b": 241
  },
  "hsl": {
    "h": 233.217,
    "s": 80.42,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67211,
    "c": 0.15065,
    "h": 276.1
  },
  "luminance": 0.29252
}

Semantic roles & 50–950 ramp

primary
#7E8BF1
secondary
#F4F1D7
accent
#C509DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E8BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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