#7E89DD#7E89DD

#7E89DD is a light, vivid blue. Relative luminance 0.275; OKLCH L 65.7% C 0.125 H 276.7°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7E89DD
RGBrgb(126, 137, 221)
HSLhsl(233, 58%, 68%)
HSVhsv(233, 43%, 87%)
CMYKcmyk(43%, 38%, 0%, 13.3%)
CIE-LABlab(59.48, 17.35, -44.19)
CIE-LCHlch(59.48, 47.47, 291.43°)
OKLaboklab(65.71% 0.0146 -0.1244)
OKLCHoklch(65.71% 0.125 276.7)
XYZxyz(30.5970, 27.5459, 72.0973)
Luminance0.2755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E89DD #DDD27E
analogous
#7EB8DD #7E89DD #A27EDD
triadic
#7E89DD #DD7E89 #89DD7E
tetradic
#7E89DD #DD7EB8 #DDD27E #7EDDA2
square
#7E89DD #DD7EB8 #DDD27E #7EDDA2
split-complementary
#7E89DD #DDA27E #B8DD7E
monochromatic
#2F3EB2 #4E5DD0 #7E89DD #AEB5EA #DFE2F7

Accessibility & contrast

On white

3.23
#7E89DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#7E89DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E89DD
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E89DD#FFFFFF#000000##000000
##7E89DD1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B93E0
Deuteranopia (green-blind)
#648CDB
Tritanopia (blue-blind)
#5F9AA8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e89dd;
/* rgb */ color: rgb(126, 137, 221);
/* oklch */ color: oklch(65.7% 0.125 276.7);
Tailwind
colors: {
  custom: {
    50: '#a7abe8',
    500: '#7e89dd',
    950: '#000000',
  },
}
SCSS
$custom: #7e89dd;
$custom-light: #a7abe8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e89dd",
  "rgb": {
    "r": 126,
    "g": 137,
    "b": 221
  },
  "hsl": {
    "h": 233.053,
    "s": 58.282,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65714,
    "c": 0.12529,
    "h": 276.7
  },
  "luminance": 0.27547
}

Semantic roles & 50–950 ramp

primary
#7E89DD
secondary
#EAE7CD
accent
#B320C6
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #7E89DD

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

Preview Lab → · Contrast checker → · Palette generator →

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