#7E89DC#7E89DC

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

Color values

HEX#7E89DC
RGBrgb(126, 137, 220)
HSLhsl(233, 57%, 68%)
HSVhsv(233, 43%, 86%)
CMYKcmyk(42.7%, 37.7%, 0%, 13.7%)
CIE-LABlab(59.43, 17.06, -43.71)
CIE-LCHlch(59.43, 46.92, 291.32°)
OKLaboklab(65.66% 0.0144 -0.123)
OKLCHoklch(65.66% 0.124 276.7)
XYZxyz(30.4642, 27.4928, 71.3977)
Luminance0.2749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E89DC #DCD17E
analogous
#7EB8DC #7E89DC #A27EDC
triadic
#7E89DC #DC7E89 #89DC7E
tetradic
#7E89DC #DC7EB8 #DCD17E #7EDCA2
square
#7E89DC #DC7EB8 #DCD17E #7EDCA2
split-complementary
#7E89DC #DCA27E #B8DC7E
monochromatic
#303FB0 #4E5DCF #7E89DC #AEB5E9 #DEE1F6

Accessibility & contrast

On white

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

On black

6.50
#7E89DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E89DC
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E89DC#FFFFFF#000000##000000
##7E89DC1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e89dc;
/* rgb */ color: rgb(126, 137, 220);
/* oklch */ color: oklch(65.7% 0.124 276.7);
Tailwind
colors: {
  custom: {
    50: '#a7abe7',
    500: '#7e89dc',
    950: '#000000',
  },
}
SCSS
$custom: #7e89dc;
$custom-light: #a7abe7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e89dc",
  "rgb": {
    "r": 126,
    "g": 137,
    "b": 220
  },
  "hsl": {
    "h": 232.979,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65661,
    "c": 0.12387,
    "h": 276.7
  },
  "luminance": 0.27494
}

Semantic roles & 50–950 ramp

primary
#7E89DC
secondary
#E9E6CC
accent
#B221C5
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #7E89DC

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

Preview Lab → · Contrast checker → · Palette generator →

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