#8078EA#8078EA

#8078EA is a light, vivid blue. Relative luminance 0.240; OKLCH L 63.4% C 0.166 H 283.8°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8078EA
RGBrgb(128, 120, 234)
HSLhsl(244, 73%, 69%)
HSVhsv(244, 49%, 92%)
CMYKcmyk(45.3%, 48.7%, 0%, 8.2%)
CIE-LABlab(56.05, 31.63, -56.88)
CIE-LCHlch(56.05, 65.08, 299.08°)
OKLaboklab(63.37% 0.0396 -0.1616)
OKLCHoklch(63.37% 0.166 283.8)
XYZxyz(30.4655, 23.9613, 80.8457)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8078EA #E2EA78
analogous
#78A9EA #8078EA #B978EA
triadic
#8078EA #EA8078 #78EA80
tetradic
#8078EA #EA78A9 #E2EA78 #78EAB9
square
#8078EA #EA78A9 #E2EA78 #78EAB9
split-complementary
#8078EA #EAB978 #A9EA78
monochromatic
#2B1FC8 #4E43E2 #8078EA #B2ADF2 #E4E2FA

Accessibility & contrast

On white

3.63
#8078EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#8078EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8078EA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8078EA#FFFFFF#000000##000000
##8078EA1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#468AEE
Deuteranopia (green-blind)
#4183E7
Tritanopia (blue-blind)
#5D90A6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8078ea;
/* rgb */ color: rgb(128, 120, 234);
/* oklch */ color: oklch(63.4% 0.166 283.8);
Tailwind
colors: {
  custom: {
    50: '#aa9ff1',
    500: '#8078ea',
    950: '#000000',
  },
}
SCSS
$custom: #8078ea;
$custom-light: #aa9ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#8078ea",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 244.211,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6337,
    "c": 0.16637,
    "h": 283.8
  },
  "luminance": 0.23963
}

Semantic roles & 50–950 ramp

primary
#8078EA
secondary
#EDEFCE
accent
#D510C7
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #8078EA

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

Preview Lab → · Contrast checker → · Palette generator →

#8078EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva