#8071D4#8071D4

#8071D4 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.8% C 0.146 H 288.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8071D4
RGBrgb(128, 113, 212)
HSLhsl(249, 54%, 64%)
HSVhsv(249, 47%, 83%)
CMYKcmyk(39.6%, 46.7%, 0%, 16.9%)
CIE-LABlab(53.12, 29.50, -49.20)
CIE-LCHlch(53.12, 57.36, 300.95°)
OKLaboklab(60.76% 0.0457 -0.1391)
OKLCHoklch(60.76% 0.146 288.2)
XYZxyz(26.6876, 21.1521, 64.9512)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8071D4 #C5D471
analogous
#7193D4 #8071D4 #B171D4
triadic
#8071D4 #D48071 #71D480
tetradic
#8071D4 #D47193 #C5D471 #71D4B1
square
#8071D4 #D47193 #C5D471 #71D4B1
split-complementary
#8071D4 #D4B171 #93D471
monochromatic
#402F9C #5642C6 #8071D4 #AAA0E2 #D4CFF0

Accessibility & contrast

On white

4.01
#8071D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#8071D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8071D4
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8071D4#FFFFFF#000000##000000
##8071D41.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C81D8
Deuteranopia (green-blind)
#4C7CD2
Tritanopia (blue-blind)
#698598
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8071d4;
/* rgb */ color: rgb(128, 113, 212);
/* oklch */ color: oklch(60.8% 0.146 288.2);
Tailwind
colors: {
  custom: {
    50: '#a99ae2',
    500: '#8071d4',
    950: '#000000',
  },
}
SCSS
$custom: #8071d4;
$custom-light: #a99ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#8071d4",
  "rgb": {
    "r": 128,
    "g": 113,
    "b": 212
  },
  "hsl": {
    "h": 249.091,
    "s": 53.514,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60762,
    "c": 0.14641,
    "h": 288.2
  },
  "luminance": 0.21153
}

Semantic roles & 50–950 ramp

primary
#8071D4
secondary
#DDE2BF
accent
#C125A9
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8071D4

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

Preview Lab → · Contrast checker → · Palette generator →

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