#7E8FF2#7E8FF2

#7E8FF2 is a light, vivid blue. Relative luminance 0.305; OKLCH L 68.0% C 0.147 H 274.5°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7E8FF2
RGBrgb(126, 143, 242)
HSLhsl(231, 82%, 72%)
HSVhsv(231, 48%, 95%)
CMYKcmyk(47.9%, 40.9%, 0%, 5.1%)
CIE-LABlab(62.07, 19.96, -51.73)
CIE-LCHlch(62.07, 55.44, 291.10°)
OKLaboklab(68.05% 0.0115 -0.1464)
OKLCHoklch(68.05% 0.147 274.5)
XYZxyz(34.4486, 30.4893, 88.0570)
Luminance0.3049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8FF2 #F2E17E
analogous
#7EC9F2 #7E8FF2 #A77EF2
triadic
#7E8FF2 #F27E8F #8FF27E
tetradic
#7E8FF2 #F27EC9 #F2E17E #7EF2A7
square
#7E8FF2 #F27EC9 #F2E17E #7EF2A7
split-complementary
#7E8FF2 #F2A77E #C9F27E
monochromatic
#1634DF #465FEC #7E8FF2 #B6BFF8 #E3E7FC

Accessibility & contrast

On white

2.96
#7E8FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#7E8FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E8FF2
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8FF2#FFFFFF#000000##000000
##7E8FF21.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#689BF6
Deuteranopia (green-blind)
#5D91F0
Tritanopia (blue-blind)
#51A4B5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7e8ff2;
/* rgb */ color: rgb(126, 143, 242);
/* oklch */ color: oklch(68.0% 0.147 274.5);
Tailwind
colors: {
  custom: {
    50: '#a9aff7',
    500: '#7e8ff2',
    950: '#000000',
  },
}
SCSS
$custom: #7e8ff2;
$custom-light: #a9aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8ff2",
  "rgb": {
    "r": 126,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 231.207,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68048,
    "c": 0.14685,
    "h": 274.5
  },
  "luminance": 0.30491
}

Semantic roles & 50–950 ramp

primary
#7E8FF2
secondary
#F4F0D7
accent
#BF07DE
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E8FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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