#7E89F1#7E89F1

#7E89F1 is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.8% C 0.153 H 276.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7E89F1
RGBrgb(126, 137, 241)
HSLhsl(234, 80%, 72%)
HSVhsv(234, 48%, 95%)
CMYKcmyk(47.7%, 43.2%, 0%, 5.5%)
CIE-LABlab(60.49, 23.20, -53.68)
CIE-LCHlch(60.49, 58.48, 293.37°)
OKLaboklab(66.83% 0.0183 -0.1522)
OKLCHoklch(66.83% 0.153 276.9)
XYZxyz(33.4221, 28.6759, 86.9759)
Luminance0.2868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E89F1 #F1E67E
analogous
#7EC3F1 #7E89F1 #AD7EF1
triadic
#7E89F1 #F17E89 #89F17E
tetradic
#7E89F1 #F17EC3 #F1E67E #7EF1AD
square
#7E89F1 #F17EC3 #F1E67E #7EF1AD
split-complementary
#7E89F1 #F1AD7E #C3F17E
monochromatic
#182BDD #4756EB #7E89F1 #B5BCF7 #E3E6FC

Accessibility & contrast

On white

3.12
#7E89F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#7E89F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E89F1
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E89F1#FFFFFF#000000##000000
##7E89F11.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F97F5
Deuteranopia (green-blind)
#558DEF
Tritanopia (blue-blind)
#539FB1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7e89f1;
/* rgb */ color: rgb(126, 137, 241);
/* oklch */ color: oklch(66.8% 0.153 276.9);
Tailwind
colors: {
  custom: {
    50: '#a9abf6',
    500: '#7e89f1',
    950: '#000000',
  },
}
SCSS
$custom: #7e89f1;
$custom-light: #a9abf6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e89f1",
  "rgb": {
    "r": 126,
    "g": 137,
    "b": 241
  },
  "hsl": {
    "h": 234.261,
    "s": 80.42,
    "l": 71.961
  },
  "oklch": {
    "l": 0.66825,
    "c": 0.15327,
    "h": 276.9
  },
  "luminance": 0.28678
}

Semantic roles & 50–950 ramp

primary
#7E89F1
secondary
#F4F1D7
accent
#C809DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E89F1

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

Preview Lab → · Contrast checker → · Palette generator →

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