#8071CF#8071CF

#8071CF is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.5% C 0.140 H 288.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8071CF
RGBrgb(128, 113, 207)
HSLhsl(250, 49%, 63%)
HSVhsv(250, 45%, 81%)
CMYKcmyk(38.2%, 45.4%, 0%, 18.8%)
CIE-LABlab(52.84, 28.11, -46.79)
CIE-LCHlch(52.84, 54.58, 301.00°)
OKLaboklab(60.47% 0.0451 -0.132)
OKLCHoklch(60.47% 0.14 288.8)
XYZxyz(26.0666, 20.9037, 61.6808)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8071CF #C0CF71
analogous
#7191CF #8071CF #AF71CF
triadic
#8071CF #CF8071 #71CF80
tetradic
#8071CF #CF7191 #C0CF71 #71CFAF
square
#8071CF #CF7191 #C0CF71 #71CFAF
split-complementary
#8071CF #CFAF71 #91CF71
monochromatic
#423294 #5743C0 #8071CF #A99FDE #D2CCEE

Accessibility & contrast

On white

4.05
#8071CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8071CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8071CF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8071CF#FFFFFF#000000##000000
##8071CF1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F80D2
Deuteranopia (green-blind)
#4F7CCD
Tritanopia (blue-blind)
#6B8496
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8071cf;
/* rgb */ color: rgb(128, 113, 207);
/* oklch */ color: oklch(60.5% 0.140 288.8);
Tailwind
colors: {
  custom: {
    50: '#a89ade',
    500: '#8071cf',
    950: '#000000',
  },
}
SCSS
$custom: #8071cf;
$custom-light: #a89ade;
$custom-dark: #000000;
JSON
{
  "hex": "#8071cf",
  "rgb": {
    "r": 128,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 249.574,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60469,
    "c": 0.13953,
    "h": 288.8
  },
  "luminance": 0.20904
}

Semantic roles & 50–950 ramp

primary
#8071CF
secondary
#D9DFBD
accent
#BD29A5
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8071CF

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

Preview Lab → · Contrast checker → · Palette generator →

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