#8071CD#8071CD

#8071CD is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.4% C 0.137 H 289.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8071CD
RGBrgb(128, 113, 205)
HSLhsl(250, 48%, 62%)
HSVhsv(250, 45%, 80%)
CMYKcmyk(37.6%, 44.9%, 0%, 19.6%)
CIE-LABlab(52.74, 27.56, -45.82)
CIE-LCHlch(52.74, 53.47, 301.02°)
OKLaboklab(60.35% 0.0448 -0.1292)
OKLCHoklch(60.35% 0.137 289.1)
XYZxyz(25.8237, 20.8065, 60.4012)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8071CD #BECD71
analogous
#7190CD #8071CD #AE71CD
triadic
#8071CD #CD8071 #71CD80
tetradic
#8071CD #CD7190 #BECD71 #71CDAE
square
#8071CD #CD7190 #BECD71 #71CDAE
split-complementary
#8071CD #CDAE71 #90CD71
monochromatic
#423391 #5844BD #8071CD #A89EDD #D1CCED

Accessibility & contrast

On white

4.07
#8071CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#8071CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8071CD
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8071CD#FFFFFF#000000##000000
##8071CD1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5180D0
Deuteranopia (green-blind)
#517CCB
Tritanopia (blue-blind)
#6C8395
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8071cd;
/* rgb */ color: rgb(128, 113, 205);
/* oklch */ color: oklch(60.4% 0.137 289.1);
Tailwind
colors: {
  custom: {
    50: '#a89add',
    500: '#8071cd',
    950: '#000000',
  },
}
SCSS
$custom: #8071cd;
$custom-light: #a89add;
$custom-dark: #000000;
JSON
{
  "hex": "#8071cd",
  "rgb": {
    "r": 128,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 249.783,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60354,
    "c": 0.13677,
    "h": 289.1
  },
  "luminance": 0.20807
}

Semantic roles & 50–950 ramp

primary
#8071CD
secondary
#D8DEBC
accent
#BB2AA4
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8071CD

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

Preview Lab → · Contrast checker → · Palette generator →

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