#7E78CA#7E78CA

#7E78CA is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.3% C 0.122 H 285.5°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7E78CA
RGBrgb(126, 120, 202)
HSLhsl(244, 44%, 63%)
HSVhsv(244, 41%, 79%)
CMYKcmyk(37.6%, 40.6%, 0%, 20.8%)
CIE-LABlab(54.17, 22.04, -41.86)
CIE-LCHlch(54.17, 47.31, 297.77°)
OKLaboklab(61.35% 0.0327 -0.1177)
OKLCHoklch(61.35% 0.122 285.5)
XYZxyz(25.9784, 22.1320, 58.7688)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E78CA #C4CA78
analogous
#789BCA #7E78CA #A778CA
triadic
#7E78CA #CA7E78 #78CA7E
tetradic
#7E78CA #CA789B #C4CA78 #78CAA7
square
#7E78CA #CA789B #C4CA78 #78CAA7
split-complementary
#7E78CA #CAA778 #9BCA78
monochromatic
#3F388F #544CB9 #7E78CA #A8A4DB #D2D0ED

Accessibility & contrast

On white

3.87
#7E78CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#7E78CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E78CA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E78CA#FFFFFF#000000##000000
##7E78CA1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D84CD
Deuteranopia (green-blind)
#5B7FC8
Tritanopia (blue-blind)
#698897
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e78ca;
/* rgb */ color: rgb(126, 120, 202);
/* oklch */ color: oklch(61.3% 0.122 285.5);
Tailwind
colors: {
  custom: {
    50: '#a69fda',
    500: '#7e78ca',
    950: '#000000',
  },
}
SCSS
$custom: #7e78ca;
$custom-light: #a69fda;
$custom-dark: #000000;
JSON
{
  "hex": "#7e78ca",
  "rgb": {
    "r": 126,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 244.39,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61347,
    "c": 0.12217,
    "h": 285.5
  },
  "luminance": 0.22133
}

Semantic roles & 50–950 ramp

primary
#7E78CA
secondary
#DBDEC0
accent
#B72FAD
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7E78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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