#7E89CD#7E89CD

#7E89CD is a light, moderate blue. Relative luminance 0.267; OKLCH L 64.9% C 0.102 H 276.1°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7E89CD
RGBrgb(126, 137, 205)
HSLhsl(232, 44%, 65%)
HSVhsv(232, 39%, 80%)
CMYKcmyk(38.5%, 33.2%, 0%, 19.6%)
CIE-LABlab(58.73, 12.82, -36.40)
CIE-LCHlch(58.73, 38.59, 289.41°)
OKLaboklab(64.89% 0.011 -0.1018)
OKLCHoklch(64.89% 0.102 276.1)
XYZxyz(28.5661, 26.7335, 61.4007)
Luminance0.2673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E89CD #CDC27E
analogous
#7EB0CD #7E89CD #9B7ECD
triadic
#7E89CD #CD7E89 #89CD7E
tetradic
#7E89CD #CD7EB0 #CDC27E #7ECD9B
square
#7E89CD #CD7EB0 #CDC27E #7ECD9B
split-complementary
#7E89CD #CD9B7E #B0CD7E
monochromatic
#3A4796 #5261BC #7E89CD #AAB1DE #D6DAEF

Accessibility & contrast

On white

3.31
#7E89CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#7E89CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E89CD
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E89CD#FFFFFF#000000##000000
##7E89CD1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7391D0
Deuteranopia (green-blind)
#6D8ACB
Tritanopia (blue-blind)
#6696A2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7e89cd;
/* rgb */ color: rgb(126, 137, 205);
/* oklch */ color: oklch(64.9% 0.102 276.1);
Tailwind
colors: {
  custom: {
    50: '#a6abdc',
    500: '#7e89cd',
    950: '#000000',
  },
}
SCSS
$custom: #7e89cd;
$custom-light: #a6abdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e89cd",
  "rgb": {
    "r": 126,
    "g": 137,
    "b": 205
  },
  "hsl": {
    "h": 231.646,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64891,
    "c": 0.1024,
    "h": 276.1
  },
  "luminance": 0.26735
}

Semantic roles & 50–950 ramp

primary
#7E89CD
secondary
#E1DDC6
accent
#A42EB7
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #7E89CD

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

Preview Lab → · Contrast checker → · Palette generator →

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