#8071CC#8071CC

#8071CC is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.3% C 0.135 H 289.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8071CC
RGBrgb(128, 113, 204)
HSLhsl(250, 47%, 62%)
HSVhsv(250, 45%, 80%)
CMYKcmyk(37.3%, 44.6%, 0%, 20%)
CIE-LABlab(52.68, 27.28, -45.34)
CIE-LCHlch(52.68, 52.91, 301.04°)
OKLaboklab(60.3% 0.0447 -0.1278)
OKLCHoklch(60.3% 0.135 289.3)
XYZxyz(25.7033, 20.7584, 59.7675)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8071CC #BDCC71
analogous
#7190CC #8071CC #AE71CC
triadic
#8071CC #CC8071 #71CC80
tetradic
#8071CC #CC7190 #BDCC71 #71CCAE
square
#8071CC #CC7190 #BDCC71 #71CCAE
split-complementary
#8071CC #CCAE71 #90CC71
monochromatic
#43338F #5844BC #8071CC #A89EDC #D1CBEC

Accessibility & contrast

On white

4.08
#8071CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8071CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8071CC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8071CC#FFFFFF#000000##000000
##8071CC1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5180CF
Deuteranopia (green-blind)
#527CCA
Tritanopia (blue-blind)
#6C8395
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8071cc;
/* rgb */ color: rgb(128, 113, 204);
/* oklch */ color: oklch(60.3% 0.135 289.3);
Tailwind
colors: {
  custom: {
    50: '#a89adc',
    500: '#8071cc',
    950: '#000000',
  },
}
SCSS
$custom: #8071cc;
$custom-light: #a89adc;
$custom-dark: #000000;
JSON
{
  "hex": "#8071cc",
  "rgb": {
    "r": 128,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 249.89,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60296,
    "c": 0.13538,
    "h": 289.3
  },
  "luminance": 0.20759
}

Semantic roles & 50–950 ramp

primary
#8071CC
secondary
#D8DDBC
accent
#BA2BA3
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8071CC

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

Preview Lab → · Contrast checker → · Palette generator →

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