#7E89EB#7E89EB

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

Color values

HEX#7E89EB
RGBrgb(126, 137, 235)
HSLhsl(234, 73%, 71%)
HSVhsv(234, 46%, 92%)
CMYKcmyk(46.4%, 41.7%, 0%, 7.8%)
CIE-LABlab(60.18, 21.42, -50.86)
CIE-LCHlch(60.18, 55.19, 292.84°)
OKLaboklab(66.48% 0.0173 -0.1439)
OKLCHoklch(66.48% 0.145 276.9)
XYZxyz(32.5406, 28.3233, 82.3335)
Luminance0.2833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E89EB #EBE07E
analogous
#7EBFEB #7E89EB #A97EEB
triadic
#7E89EB #EB7E89 #89EB7E
tetradic
#7E89EB #EB7EBF #EBE07E #7EEBA9
square
#7E89EB #EB7EBF #EBE07E #7EEBA9
split-complementary
#7E89EB #EBA97E #BFEB7E
monochromatic
#2032CF #4959E3 #7E89EB #B3B9F3 #E5E7FB

Accessibility & contrast

On white

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

On black

6.66
#7E89EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E89EB
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E89EB#FFFFFF#000000##000000
##7E89EB1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396EF
Deuteranopia (green-blind)
#5A8DE9
Tritanopia (blue-blind)
#579DAF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7e89eb;
/* rgb */ color: rgb(126, 137, 235);
/* oklch */ color: oklch(66.5% 0.145 276.9);
Tailwind
colors: {
  custom: {
    50: '#a9abf2',
    500: '#7e89eb',
    950: '#000000',
  },
}
SCSS
$custom: #7e89eb;
$custom-light: #a9abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e89eb",
  "rgb": {
    "r": 126,
    "g": 137,
    "b": 235
  },
  "hsl": {
    "h": 233.945,
    "s": 73.154,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66482,
    "c": 0.14496,
    "h": 276.9
  },
  "luminance": 0.28325
}

Semantic roles & 50–950 ramp

primary
#7E89EB
secondary
#F1EED4
accent
#C110D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E89EB

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

Preview Lab → · Contrast checker → · Palette generator →

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