#8071E1#8071E1

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

Color values

HEX#8071E1
RGBrgb(128, 113, 225)
HSLhsl(248, 65%, 66%)
HSVhsv(248, 50%, 88%)
CMYKcmyk(43.1%, 49.8%, 0%, 11.8%)
CIE-LABlab(53.85, 33.16, -55.36)
CIE-LCHlch(53.85, 64.53, 300.92°)
OKLaboklab(61.55% 0.0471 -0.1572)
OKLCHoklch(61.55% 0.164 286.7)
XYZxyz(28.3939, 21.8346, 73.9380)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8071E1 #D2E171
analogous
#719AE1 #8071E1 #B871E1
triadic
#8071E1 #E18071 #71E180
tetradic
#8071E1 #E1719A #D2E171 #71E1B8
square
#8071E1 #E1719A #D2E171 #71E1B8
split-complementary
#8071E1 #E1B871 #9AE171
monochromatic
#3826B2 #533ED6 #8071E1 #ADA4EC #DAD6F6

Accessibility & contrast

On white

3.91
#8071E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8071E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8071E1
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8071E1#FFFFFF#000000##000000
##8071E11.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)
#4184E5
Deuteranopia (green-blind)
#3F7EDE
Tritanopia (blue-blind)
#63889E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8071e1;
/* rgb */ color: rgb(128, 113, 225);
/* oklch */ color: oklch(61.6% 0.164 286.7);
Tailwind
colors: {
  custom: {
    50: '#aa9aeb',
    500: '#8071e1',
    950: '#000000',
  },
}
SCSS
$custom: #8071e1;
$custom-light: #aa9aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#8071e1",
  "rgb": {
    "r": 128,
    "g": 113,
    "b": 225
  },
  "hsl": {
    "h": 248.036,
    "s": 65.116,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61552,
    "c": 0.16406,
    "h": 286.7
  },
  "luminance": 0.21836
}

Semantic roles & 50–950 ramp

primary
#8071E1
secondary
#E4E9C5
accent
#CD19B5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8071E1

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

Preview Lab → · Contrast checker → · Palette generator →

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