#7E89EC#7E89EC

#7E89EC is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.5% C 0.146 H 276.9°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7E89EC
RGBrgb(126, 137, 236)
HSLhsl(234, 74%, 71%)
HSVhsv(234, 47%, 93%)
CMYKcmyk(46.6%, 41.9%, 0%, 7.5%)
CIE-LABlab(60.23, 21.72, -51.34)
CIE-LCHlch(60.23, 55.74, 292.93°)
OKLaboklab(66.54% 0.0175 -0.1453)
OKLCHoklch(66.54% 0.146 276.9)
XYZxyz(32.6855, 28.3813, 83.0965)
Luminance0.2838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E89EC #ECE17E
analogous
#7EC0EC #7E89EC #AA7EEC
triadic
#7E89EC #EC7E89 #89EC7E
tetradic
#7E89EC #EC7EC0 #ECE17E #7EECAA
square
#7E89EC #EC7EC0 #ECE17E #7EECAA
split-complementary
#7E89EC #ECAA7E #C0EC7E
monochromatic
#1F31D1 #4958E4 #7E89EC #B3BAF4 #E4E7FB

Accessibility & contrast

On white

3.15
#7E89EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#7E89EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E89EC
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E89EC#FFFFFF#000000##000000
##7E89EC1.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F0
Deuteranopia (green-blind)
#598DEA
Tritanopia (blue-blind)
#569EAF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7e89ec;
/* rgb */ color: rgb(126, 137, 236);
/* oklch */ color: oklch(66.5% 0.146 276.9);
Tailwind
colors: {
  custom: {
    50: '#a9abf2',
    500: '#7e89ec',
    950: '#000000',
  },
}
SCSS
$custom: #7e89ec;
$custom-light: #a9abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e89ec",
  "rgb": {
    "r": 126,
    "g": 137,
    "b": 236
  },
  "hsl": {
    "h": 234,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66539,
    "c": 0.14635,
    "h": 276.9
  },
  "luminance": 0.28383
}

Semantic roles & 50–950 ramp

primary
#7E89EC
secondary
#F2EFD4
accent
#C30FD6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E89EC

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

Preview Lab → · Contrast checker → · Palette generator →

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