#7E89E1#7E89E1

#7E89E1 is a light, vivid blue. Relative luminance 0.278; OKLCH L 65.9% C 0.131 H 276.8°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7E89E1
RGBrgb(126, 137, 225)
HSLhsl(233, 62%, 69%)
HSVhsv(233, 44%, 88%)
CMYKcmyk(44%, 39.1%, 0%, 11.8%)
CIE-LABlab(59.67, 18.50, -46.11)
CIE-LCHlch(59.67, 49.68, 291.86°)
OKLaboklab(65.93% 0.0155 -0.13)
OKLCHoklch(65.93% 0.131 276.8)
XYZxyz(31.1363, 27.7616, 74.9375)
Luminance0.2776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E89E1 #E1D67E
analogous
#7EBBE1 #7E89E1 #A57EE1
triadic
#7E89E1 #E17E89 #89E17E
tetradic
#7E89E1 #E17EBB #E1D67E #7EE1A5
square
#7E89E1 #E17EBB #E1D67E #7EE1A5
split-complementary
#7E89E1 #E1A57E #BBE17E
monochromatic
#2B3BB9 #4C5CD5 #7E89E1 #B0B6ED #E1E4F8

Accessibility & contrast

On white

3.20
#7E89E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#7E89E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E89E1
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E89E1#FFFFFF#000000##000000
##7E89E11.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6994E4
Deuteranopia (green-blind)
#618CDF
Tritanopia (blue-blind)
#5C9BAA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7e89e1;
/* rgb */ color: rgb(126, 137, 225);
/* oklch */ color: oklch(65.9% 0.131 276.8);
Tailwind
colors: {
  custom: {
    50: '#a8abeb',
    500: '#7e89e1',
    950: '#000000',
  },
}
SCSS
$custom: #7e89e1;
$custom-light: #a8abeb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e89e1",
  "rgb": {
    "r": 126,
    "g": 137,
    "b": 225
  },
  "hsl": {
    "h": 233.333,
    "s": 62.264,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65929,
    "c": 0.13095,
    "h": 276.8
  },
  "luminance": 0.27763
}

Semantic roles & 50–950 ramp

primary
#7E89E1
secondary
#ECE9CF
accent
#B71BCA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #7E89E1

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

Preview Lab → · Contrast checker → · Palette generator →

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