#7E78DD#7E78DD

#7E78DD is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.4% C 0.149 H 283.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7E78DD
RGBrgb(126, 120, 221)
HSLhsl(244, 60%, 67%)
HSVhsv(244, 46%, 87%)
CMYKcmyk(43%, 45.7%, 0%, 13.3%)
CIE-LABlab(55.16, 27.41, -51.03)
CIE-LCHlch(55.16, 57.92, 298.24°)
OKLaboklab(62.43% 0.0357 -0.1445)
OKLCHoklch(62.43% 0.149 283.9)
XYZxyz(28.3680, 23.0878, 71.3543)
Luminance0.2309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E78DD #D7DD78
analogous
#78A5DD #7E78DD #B078DD
triadic
#7E78DD #DD7E78 #78DD7E
tetradic
#7E78DD #DD78A5 #D7DD78 #78DDB0
square
#7E78DD #DD78A5 #D7DD78 #78DDB0
split-complementary
#7E78DD #DDB078 #A5DD78
monochromatic
#342CAF #4F47D1 #7E78DD #ADA9E9 #DBDAF6

Accessibility & contrast

On white

3.74
#7E78DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#7E78DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E78DD
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E78DD#FFFFFF#000000##000000
##7E78DD1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5187E1
Deuteranopia (green-blind)
#4D81DB
Tritanopia (blue-blind)
#618DA0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7e78dd;
/* rgb */ color: rgb(126, 120, 221);
/* oklch */ color: oklch(62.4% 0.149 283.9);
Tailwind
colors: {
  custom: {
    50: '#a89fe8',
    500: '#7e78dd',
    950: '#000000',
  },
}
SCSS
$custom: #7e78dd;
$custom-light: #a89fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e78dd",
  "rgb": {
    "r": 126,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 243.564,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62427,
    "c": 0.14884,
    "h": 283.9
  },
  "luminance": 0.23089
}

Semantic roles & 50–950 ramp

primary
#7E78DD
secondary
#E7E9C8
accent
#C71EBD
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7E78DD

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

Preview Lab → · Contrast checker → · Palette generator →

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