#8071E4#8071E4

#8071E4 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.7% C 0.168 H 286.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8071E4
RGBrgb(128, 113, 228)
HSLhsl(248, 68%, 67%)
HSVhsv(248, 50%, 89%)
CMYKcmyk(43.9%, 50.4%, 0%, 10.6%)
CIE-LABlab(54.03, 34.02, -56.76)
CIE-LCHlch(54.03, 66.18, 300.93°)
OKLaboklab(61.74% 0.0473 -0.1613)
OKLCHoklch(61.74% 0.168 286.3)
XYZxyz(28.8068, 21.9997, 76.1123)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8071E4 #D5E471
analogous
#719CE4 #8071E4 #BA71E4
triadic
#8071E4 #E48071 #71E480
tetradic
#8071E4 #E4719C #D5E471 #71E4BA
square
#8071E4 #E4719C #D5E471 #71E4BA
split-complementary
#8071E4 #E4BA71 #9CE471
monochromatic
#3623B8 #523EDA #8071E4 #AEA4EE #DCD8F8

Accessibility & contrast

On white

3.89
#8071E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#8071E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8071E4
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8071E4#FFFFFF#000000##000000
##8071E41.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E84E8
Deuteranopia (green-blind)
#3C7EE1
Tritanopia (blue-blind)
#6189A0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8071e4;
/* rgb */ color: rgb(128, 113, 228);
/* oklch */ color: oklch(61.7% 0.168 286.3);
Tailwind
colors: {
  custom: {
    50: '#aa9aed',
    500: '#8071e4',
    950: '#000000',
  },
}
SCSS
$custom: #8071e4;
$custom-light: #aa9aed;
$custom-dark: #000000;
JSON
{
  "hex": "#8071e4",
  "rgb": {
    "r": 128,
    "g": 113,
    "b": 228
  },
  "hsl": {
    "h": 247.826,
    "s": 68.047,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61741,
    "c": 0.16808,
    "h": 286.3
  },
  "luminance": 0.22001
}

Semantic roles & 50–950 ramp

primary
#8071E4
secondary
#E6EBC6
accent
#D016B8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8071E4

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

Preview Lab → · Contrast checker → · Palette generator →

#8071E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva