#8070EA#8070EA

#8070EA is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.9% C 0.177 H 286.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8070EA
RGBrgb(128, 112, 234)
HSLhsl(248, 74%, 68%)
HSVhsv(248, 52%, 92%)
CMYKcmyk(45.3%, 52.1%, 0%, 8.2%)
CIE-LABlab(54.15, 36.32, -59.92)
CIE-LCHlch(54.15, 70.07, 301.22°)
OKLaboklab(61.95% 0.0489 -0.1706)
OKLCHoklch(61.95% 0.177 286)
XYZxyz(29.5432, 22.1168, 80.5383)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8070EA #DAEA70
analogous
#709DEA #8070EA #BD70EA
triadic
#8070EA #EA8070 #70EA80
tetradic
#8070EA #EA709D #DAEA70 #70EABD
square
#8070EA #EA709D #DAEA70 #70EABD
split-complementary
#8070EA #EABD70 #9DEA70
monochromatic
#321DC3 #513BE2 #8070EA #AFA5F2 #DFDBFA

Accessibility & contrast

On white

3.87
#8070EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#8070EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8070EA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8070EA#FFFFFF#000000##000000
##8070EA1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EE
Deuteranopia (green-blind)
#317EE7
Tritanopia (blue-blind)
#5E8AA2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8070ea;
/* rgb */ color: rgb(128, 112, 234);
/* oklch */ color: oklch(61.9% 0.177 286.0);
Tailwind
colors: {
  custom: {
    50: '#ab99f1',
    500: '#8070ea',
    950: '#000000',
  },
}
SCSS
$custom: #8070ea;
$custom-light: #ab99f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8070ea",
  "rgb": {
    "r": 128,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 247.869,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61949,
    "c": 0.17744,
    "h": 286
  },
  "luminance": 0.22118
}

Semantic roles & 50–950 ramp

primary
#8070EA
secondary
#E9EEC8
accent
#D70FBC
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8070EA

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

Preview Lab → · Contrast checker → · Palette generator →

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