#8071D7#8071D7

#8071D7 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.9% C 0.151 H 287.8°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8071D7
RGBrgb(128, 113, 215)
HSLhsl(249, 56%, 64%)
HSVhsv(249, 47%, 84%)
CMYKcmyk(40.5%, 47.4%, 0%, 15.7%)
CIE-LABlab(53.28, 30.34, -50.63)
CIE-LCHlch(53.28, 59.02, 300.93°)
OKLaboklab(60.94% 0.0461 -0.1433)
OKLCHoklch(60.94% 0.151 287.8)
XYZxyz(27.0695, 21.3048, 66.9628)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8071D7 #C8D771
analogous
#7195D7 #8071D7 #B371D7
triadic
#8071D7 #D78071 #71D780
tetradic
#8071D7 #D77195 #C8D771 #71D7B3
square
#8071D7 #D77195 #C8D771 #71D7B3
split-complementary
#8071D7 #D7B371 #95D771
monochromatic
#3E2DA0 #5541CA #8071D7 #ABA1E4 #D5D0F2

Accessibility & contrast

On white

3.99
#8071D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8071D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8071D7
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8071D7#FFFFFF#000000##000000
##8071D71.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4982DB
Deuteranopia (green-blind)
#497DD5
Tritanopia (blue-blind)
#67869A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8071d7;
/* rgb */ color: rgb(128, 113, 215);
/* oklch */ color: oklch(60.9% 0.151 287.8);
Tailwind
colors: {
  custom: {
    50: '#a99ae4',
    500: '#8071d7',
    950: '#000000',
  },
}
SCSS
$custom: #8071d7;
$custom-light: #a99ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#8071d7",
  "rgb": {
    "r": 128,
    "g": 113,
    "b": 215
  },
  "hsl": {
    "h": 248.824,
    "s": 56.044,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60941,
    "c": 0.15052,
    "h": 287.8
  },
  "luminance": 0.21306
}

Semantic roles & 50–950 ramp

primary
#8071D7
secondary
#DEE4C0
accent
#C422AC
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E15
muted
#7F7E84

Preview Lab

Preview with #8071D7

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

Preview Lab → · Contrast checker → · Palette generator →

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