#8071D1#8071D1

#8071D1 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.6% C 0.142 H 288.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8071D1
RGBrgb(128, 113, 209)
HSLhsl(249, 51%, 63%)
HSVhsv(249, 46%, 82%)
CMYKcmyk(38.8%, 45.9%, 0%, 18%)
CIE-LABlab(52.95, 28.66, -47.75)
CIE-LCHlch(52.95, 55.70, 300.97°)
OKLaboklab(60.59% 0.0454 -0.1349)
OKLCHoklch(60.59% 0.142 288.6)
XYZxyz(26.3127, 21.0021, 62.9767)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8071D1 #C2D171
analogous
#7192D1 #8071D1 #B071D1
triadic
#8071D1 #D18071 #71D180
tetradic
#8071D1 #D17192 #C2D171 #71D1B0
square
#8071D1 #D17192 #C2D171 #71D1B0
split-complementary
#8071D1 #D1B071 #92D171
monochromatic
#413197 #5743C2 #8071D1 #A99FE0 #D3CDEF

Accessibility & contrast

On white

4.04
#8071D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8071D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8071D1
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8071D1#FFFFFF#000000##000000
##8071D11.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E81D5
Deuteranopia (green-blind)
#4E7CCF
Tritanopia (blue-blind)
#6A8497
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8071d1;
/* rgb */ color: rgb(128, 113, 209);
/* oklch */ color: oklch(60.6% 0.142 288.6);
Tailwind
colors: {
  custom: {
    50: '#a89adf',
    500: '#8071d1',
    950: '#000000',
  },
}
SCSS
$custom: #8071d1;
$custom-light: #a89adf;
$custom-dark: #000000;
JSON
{
  "hex": "#8071d1",
  "rgb": {
    "r": 128,
    "g": 113,
    "b": 209
  },
  "hsl": {
    "h": 249.375,
    "s": 51.064,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60585,
    "c": 0.14229,
    "h": 288.6
  },
  "luminance": 0.21003
}

Semantic roles & 50–950 ramp

primary
#8071D1
secondary
#DBE0BE
accent
#BE27A7
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8071D1

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

Preview Lab → · Contrast checker → · Palette generator →

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