#7E89EF#7E89EF

#7E89EF is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.7% C 0.151 H 276.9°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7E89EF
RGBrgb(126, 137, 239)
HSLhsl(234, 78%, 72%)
HSVhsv(234, 47%, 94%)
CMYKcmyk(47.3%, 42.7%, 0%, 6.3%)
CIE-LABlab(60.39, 22.60, -52.75)
CIE-LCHlch(60.39, 57.39, 293.20°)
OKLaboklab(66.71% 0.018 -0.1494)
OKLCHoklch(66.71% 0.151 276.9)
XYZxyz(33.1250, 28.5571, 85.4112)
Luminance0.2856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E89EF #EFE47E
analogous
#7EC2EF #7E89EF #AC7EEF
triadic
#7E89EF #EF7E89 #89EF7E
tetradic
#7E89EF #EF7EC2 #EFE47E #7EEFAC
square
#7E89EF #EF7EC2 #EFE47E #7EEFAC
split-complementary
#7E89EF #EFAC7E #C2EF7E
monochromatic
#1B2DD8 #4857E8 #7E89EF #B4BBF6 #E4E6FC

Accessibility & contrast

On white

3.13
#7E89EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#7E89EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E89EF
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E89EF#FFFFFF#000000##000000
##7E89EF1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F3
Deuteranopia (green-blind)
#578DED
Tritanopia (blue-blind)
#549EB0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7e89ef;
/* rgb */ color: rgb(126, 137, 239);
/* oklch */ color: oklch(66.7% 0.151 276.9);
Tailwind
colors: {
  custom: {
    50: '#a9abf5',
    500: '#7e89ef',
    950: '#000000',
  },
}
SCSS
$custom: #7e89ef;
$custom-light: #a9abf5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e89ef",
  "rgb": {
    "r": 126,
    "g": 137,
    "b": 239
  },
  "hsl": {
    "h": 234.159,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6671,
    "c": 0.15051,
    "h": 276.9
  },
  "luminance": 0.28559
}

Semantic roles & 50–950 ramp

primary
#7E89EF
secondary
#F3F0D6
accent
#C60BDA
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E89EF

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

Preview Lab → · Contrast checker → · Palette generator →

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