#8070E5#8070E5

#8070E5 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.6% C 0.171 H 286.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8070E5
RGBrgb(128, 112, 229)
HSLhsl(248, 69%, 67%)
HSVhsv(248, 51%, 90%)
CMYKcmyk(44.1%, 51.1%, 0%, 10.2%)
CIE-LABlab(53.85, 34.89, -57.61)
CIE-LCHlch(53.85, 67.35, 301.20°)
OKLaboklab(61.63% 0.0486 -0.1638)
OKLCHoklch(61.63% 0.171 286.5)
XYZxyz(28.8350, 21.8335, 76.8085)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8070E5 #D5E570
analogous
#709BE5 #8070E5 #BB70E5
triadic
#8070E5 #E58070 #70E580
tetradic
#8070E5 #E5709B #D5E570 #70E5BB
square
#8070E5 #E5709B #D5E570 #70E5BB
split-complementary
#8070E5 #E5BB70 #9BE570
monochromatic
#3622B9 #523CDC #8070E5 #AEA4EE #DCD8F8

Accessibility & contrast

On white

3.91
#8070E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8070E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8070E5
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8070E5#FFFFFF#000000##000000
##8070E51.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A84E9
Deuteranopia (green-blind)
#387DE2
Tritanopia (blue-blind)
#6189A0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8070e5;
/* rgb */ color: rgb(128, 112, 229);
/* oklch */ color: oklch(61.6% 0.171 286.5);
Tailwind
colors: {
  custom: {
    50: '#aa99ee',
    500: '#8070e5',
    950: '#000000',
  },
}
SCSS
$custom: #8070e5;
$custom-light: #aa99ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8070e5",
  "rgb": {
    "r": 128,
    "g": 112,
    "b": 229
  },
  "hsl": {
    "h": 248.205,
    "s": 69.231,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61627,
    "c": 0.17082,
    "h": 286.5
  },
  "luminance": 0.21835
}

Semantic roles & 50–950 ramp

primary
#8070E5
secondary
#E6EBC6
accent
#D114B7
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8070E5

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

Preview Lab → · Contrast checker → · Palette generator →

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