#7E8CF3#7E8CF3

#7E8CF3 is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.5% C 0.152 H 275.7°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#7E8CF3
RGBrgb(126, 140, 243)
HSLhsl(233, 83%, 72%)
HSVhsv(233, 48%, 95%)
CMYKcmyk(48.1%, 42.4%, 0%, 4.7%)
CIE-LABlab(61.36, 22.02, -53.41)
CIE-LCHlch(61.36, 57.77, 292.41°)
OKLaboklab(67.52% 0.0151 -0.1514)
OKLCHoklch(67.52% 0.152 275.7)
XYZxyz(34.1549, 29.6609, 88.7020)
Luminance0.2966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8CF3 #F3E57E
analogous
#7EC6F3 #7E8CF3 #AB7EF3
triadic
#7E8CF3 #F37E8C #8CF37E
tetradic
#7E8CF3 #F37EC6 #F3E57E #7EF3AB
square
#7E8CF3 #F37EC6 #F3E57E #7EF3AB
split-complementary
#7E8CF3 #F3AB7E #C6F37E
monochromatic
#152DE2 #465AEE #7E8CF3 #B6BEF8 #E3E6FC

Accessibility & contrast

On white

3.03
#7E8CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#7E8CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8CF3
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8CF3#FFFFFF#000000##000000
##7E8CF31.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6399F7
Deuteranopia (green-blind)
#5890F1
Tritanopia (blue-blind)
#51A2B4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7e8cf3;
/* rgb */ color: rgb(126, 140, 243);
/* oklch */ color: oklch(67.5% 0.152 275.7);
Tailwind
colors: {
  custom: {
    50: '#a9adf7',
    500: '#7e8cf3',
    950: '#000000',
  },
}
SCSS
$custom: #7e8cf3;
$custom-light: #a9adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8cf3",
  "rgb": {
    "r": 126,
    "g": 140,
    "b": 243
  },
  "hsl": {
    "h": 232.821,
    "s": 82.979,
    "l": 72.353
  },
  "oklch": {
    "l": 0.6752,
    "c": 0.1521,
    "h": 275.7
  },
  "luminance": 0.29663
}

Semantic roles & 50–950 ramp

primary
#7E8CF3
secondary
#F4F1D7
accent
#C506DF
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E8CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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