#7E78EA#7E78EA

#7E78EA is a light, vivid blue. Relative luminance 0.238; OKLCH L 63.2% C 0.167 H 282.9°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7E78EA
RGBrgb(126, 120, 234)
HSLhsl(243, 73%, 69%)
HSVhsv(243, 49%, 92%)
CMYKcmyk(46.2%, 48.7%, 0%, 8.2%)
CIE-LABlab(55.89, 31.17, -57.14)
CIE-LCHlch(55.89, 65.09, 298.62°)
OKLaboklab(63.22% 0.0372 -0.1624)
OKLCHoklch(63.22% 0.167 282.9)
XYZxyz(30.1675, 23.8076, 80.8317)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E78EA #E4EA78
analogous
#78ABEA #7E78EA #B778EA
triadic
#7E78EA #EA7E78 #78EA7E
tetradic
#7E78EA #EA78AB #E4EA78 #78EAB7
square
#7E78EA #EA78AB #E4EA78 #78EAB7
split-complementary
#7E78EA #EAB778 #ABEA78
monochromatic
#281FC8 #4B43E2 #7E78EA #B1ADF2 #E3E2FA

Accessibility & contrast

On white

3.64
#7E78EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#7E78EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E78EA
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E78EA#FFFFFF#000000##000000
##7E78EA1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#468AEE
Deuteranopia (green-blind)
#4082E7
Tritanopia (blue-blind)
#5990A6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7e78ea;
/* rgb */ color: rgb(126, 120, 234);
/* oklch */ color: oklch(63.2% 0.167 282.9);
Tailwind
colors: {
  custom: {
    50: '#a99ff1',
    500: '#7e78ea',
    950: '#000000',
  },
}
SCSS
$custom: #7e78ea;
$custom-light: #a99ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e78ea",
  "rgb": {
    "r": 126,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 243.158,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63216,
    "c": 0.16661,
    "h": 282.9
  },
  "luminance": 0.23809
}

Semantic roles & 50–950 ramp

primary
#7E78EA
secondary
#EEEFCE
accent
#D510CB
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7E78EA

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

Preview Lab → · Contrast checker → · Palette generator →

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