#7E89CA#7E89CA

#7E89CA is a light, moderate blue. Relative luminance 0.266; OKLCH L 64.7% C 0.098 H 276.0°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7E89CA
RGBrgb(126, 137, 202)
HSLhsl(231, 42%, 64%)
HSVhsv(231, 38%, 79%)
CMYKcmyk(37.6%, 32.2%, 0%, 20.8%)
CIE-LABlab(58.59, 11.99, -34.91)
CIE-LCHlch(58.59, 36.92, 288.95°)
OKLaboklab(64.74% 0.0102 -0.0975)
OKLCHoklch(64.74% 0.098 276)
XYZxyz(28.2074, 26.5901, 59.5118)
Luminance0.2659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E89CA #CABF7E
analogous
#7EAFCA #7E89CA #997ECA
triadic
#7E89CA #CA7E89 #89CA7E
tetradic
#7E89CA #CA7EAF #CABF7E #7ECA99
square
#7E89CA #CA7EAF #CABF7E #7ECA99
split-complementary
#7E89CA #CA997E #AFCA7E
monochromatic
#3C4892 #5361B8 #7E89CA #A9B1DC #D5D8EE

Accessibility & contrast

On white

3.32
#7E89CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#7E89CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E89CA
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E89CA#FFFFFF#000000##000000
##7E89CA1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7490CD
Deuteranopia (green-blind)
#6E8AC8
Tritanopia (blue-blind)
#6896A0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7e89ca;
/* rgb */ color: rgb(126, 137, 202);
/* oklch */ color: oklch(64.7% 0.098 276.0);
Tailwind
colors: {
  custom: {
    50: '#a6abda',
    500: '#7e89ca',
    950: '#000000',
  },
}
SCSS
$custom: #7e89ca;
$custom-light: #a6abda;
$custom-dark: #000000;
JSON
{
  "hex": "#7e89ca",
  "rgb": {
    "r": 126,
    "g": 137,
    "b": 202
  },
  "hsl": {
    "h": 231.316,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64744,
    "c": 0.09806,
    "h": 276
  },
  "luminance": 0.26591
}

Semantic roles & 50–950 ramp

primary
#7E89CA
secondary
#DFDBC5
accent
#A231B5
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #7E89CA

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

Preview Lab → · Contrast checker → · Palette generator →

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