#7E78E8#7E78E8

#7E78E8 is a light, vivid blue. Relative luminance 0.237; OKLCH L 63.1% C 0.164 H 283.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7E78E8
RGBrgb(126, 120, 232)
HSLhsl(243, 71%, 69%)
HSVhsv(243, 48%, 91%)
CMYKcmyk(45.7%, 48.3%, 0%, 9%)
CIE-LABlab(55.78, 30.59, -56.21)
CIE-LCHlch(55.78, 63.99, 298.56°)
OKLaboklab(63.09% 0.037 -0.1597)
OKLCHoklch(63.09% 0.164 283.1)
XYZxyz(29.8818, 23.6934, 79.3271)
Luminance0.2369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E78E8 #E2E878
analogous
#78AAE8 #7E78E8 #B678E8
triadic
#7E78E8 #E87E78 #78E87E
tetradic
#7E78E8 #E878AA #E2E878 #78E8B6
square
#7E78E8 #E878AA #E2E878 #78E8B6
split-complementary
#7E78E8 #E8B678 #AAE878
monochromatic
#2A21C4 #4C44DF #7E78E8 #B0ACF1 #E2E1FA

Accessibility & contrast

On white

3.66
#7E78E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#7E78E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E78E8
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E78E8#FFFFFF#000000##000000
##7E78E81.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4889EC
Deuteranopia (green-blind)
#4282E6
Tritanopia (blue-blind)
#5A90A5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7e78e8;
/* rgb */ color: rgb(126, 120, 232);
/* oklch */ color: oklch(63.1% 0.164 283.1);
Tailwind
colors: {
  custom: {
    50: '#a99ff0',
    500: '#7e78e8',
    950: '#000000',
  },
}
SCSS
$custom: #7e78e8;
$custom-light: #a99ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e78e8",
  "rgb": {
    "r": 126,
    "g": 120,
    "b": 232
  },
  "hsl": {
    "h": 243.214,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.63092,
    "c": 0.16391,
    "h": 283.1
  },
  "luminance": 0.23695
}

Semantic roles & 50–950 ramp

primary
#7E78E8
secondary
#EDEECD
accent
#D313C9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7E78E8

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

Preview Lab → · Contrast checker → · Palette generator →

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