#8078EE#8078EE

#8078EE is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.6% C 0.172 H 283.4°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8078EE
RGBrgb(128, 120, 238)
HSLhsl(244, 78%, 70%)
HSVhsv(244, 50%, 93%)
CMYKcmyk(46.2%, 49.6%, 0%, 6.7%)
CIE-LABlab(56.28, 32.79, -58.74)
CIE-LCHlch(56.28, 67.27, 299.17°)
OKLaboklab(63.62% 0.0399 -0.167)
OKLCHoklch(63.62% 0.172 283.4)
XYZxyz(31.0466, 24.1937, 83.9063)
Luminance0.2419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8078EE #E6EE78
analogous
#78ABEE #8078EE #BB78EE
triadic
#8078EE #EE8078 #78EE80
tetradic
#8078EE #EE78AB #E6EE78 #78EEBB
square
#8078EE #EE78AB #E6EE78 #78EEBB
split-complementary
#8078EE #EEBB78 #ABEE78
monochromatic
#271AD1 #4D42E7 #8078EE #B3AEF5 #E5E4FC

Accessibility & contrast

On white

3.60
#8078EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#8078EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8078EE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8078EE#FFFFFF#000000##000000
##8078EE1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#438BF2
Deuteranopia (green-blind)
#3D83EB
Tritanopia (blue-blind)
#5B91A8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8078ee;
/* rgb */ color: rgb(128, 120, 238);
/* oklch */ color: oklch(63.6% 0.172 283.4);
Tailwind
colors: {
  custom: {
    50: '#ab9ff4',
    500: '#8078ee',
    950: '#000000',
  },
}
SCSS
$custom: #8078ee;
$custom-light: #ab9ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#8078ee",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 244.068,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.6362,
    "c": 0.17175,
    "h": 283.4
  },
  "luminance": 0.24195
}

Semantic roles & 50–950 ramp

primary
#8078EE
secondary
#EFF1D1
accent
#DA0CCC
background
#FAF9FF
surface
#F5F2FE
border
#CFCCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8078EE

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

Preview Lab → · Contrast checker → · Palette generator →

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