#8078E5#8078E5

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

Color values

HEX#8078E5
RGBrgb(128, 120, 229)
HSLhsl(244, 68%, 68%)
HSVhsv(244, 48%, 90%)
CMYKcmyk(44.1%, 47.6%, 0%, 10.2%)
CIE-LABlab(55.76, 30.18, -54.54)
CIE-LCHlch(55.76, 62.34, 298.96°)
OKLaboklab(63.06% 0.039 -0.1547)
OKLCHoklch(63.06% 0.16 284.2)
XYZxyz(29.7573, 23.6780, 77.1159)
Luminance0.2368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8078E5 #DDE578
analogous
#78A6E5 #8078E5 #B678E5
triadic
#8078E5 #E58078 #78E580
tetradic
#8078E5 #E578A6 #DDE578 #78E5B6
square
#8078E5 #E578A6 #DDE578 #78E5B6
split-complementary
#8078E5 #E5B678 #A6E578
monochromatic
#3025BE #5045DB #8078E5 #B0ABEF #E1DFF9

Accessibility & contrast

On white

3.66
#8078E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#8078E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8078E5
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8078E5#FFFFFF#000000##000000
##8078E51.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)
#4B89E9
Deuteranopia (green-blind)
#4782E3
Tritanopia (blue-blind)
#608FA4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8078e5;
/* rgb */ color: rgb(128, 120, 229);
/* oklch */ color: oklch(63.1% 0.160 284.2);
Tailwind
colors: {
  custom: {
    50: '#aa9fee',
    500: '#8078e5',
    950: '#000000',
  },
}
SCSS
$custom: #8078e5;
$custom-light: #aa9fee;
$custom-dark: #000000;
JSON
{
  "hex": "#8078e5",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 229
  },
  "hsl": {
    "h": 244.404,
    "s": 67.702,
    "l": 68.431
  },
  "oklch": {
    "l": 0.63064,
    "c": 0.15959,
    "h": 284.2
  },
  "luminance": 0.23679
}

Semantic roles & 50–950 ramp

primary
#8078E5
secondary
#EAEDCC
accent
#D016C2
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8078E5

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

Preview Lab → · Contrast checker → · Palette generator →

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