#8071BB#8071BB

#8071BB is a mid, moderate violet. Relative luminance 0.200; OKLCH L 59.4% C 0.112 H 292.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8071BB
RGBrgb(128, 113, 187)
HSLhsl(252, 35%, 59%)
HSVhsv(252, 40%, 73%)
CMYKcmyk(31.6%, 39.6%, 0%, 26.7%)
CIE-LABlab(51.82, 22.70, -36.96)
CIE-LCHlch(51.82, 43.38, 301.56°)
OKLaboklab(59.36% 0.0417 -0.1034)
OKLCHoklch(59.36% 0.112 292)
XYZxyz(23.7746, 19.9868, 49.6093)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8071BB #ACBB71
analogous
#7187BB #8071BB #A571BB
triadic
#8071BB #BB8071 #71BB80
tetradic
#8071BB #BB7187 #ACBB71 #71BBA5
square
#8071BB #BB7187 #ACBB71 #71BBA5
split-complementary
#8071BB #BBA571 #87BB71
monochromatic
#463A78 #5E4DA1 #8071BB #A59ACF #CAC4E3

Accessibility & contrast

On white

4.20
#8071BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8071BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8071BB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8071BB#FFFFFF#000000##000000
##8071BB1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7DBE
Deuteranopia (green-blind)
#5C7AB9
Tritanopia (blue-blind)
#727E8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8071bb;
/* rgb */ color: rgb(128, 113, 187);
/* oklch */ color: oklch(59.4% 0.112 292.0);
Tailwind
colors: {
  custom: {
    50: '#a79ad0',
    500: '#8071bb',
    950: '#000000',
  },
}
SCSS
$custom: #8071bb;
$custom-light: #a79ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8071bb",
  "rgb": {
    "r": 128,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 252.162,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59362,
    "c": 0.11151,
    "h": 292
  },
  "luminance": 0.19987
}

Semantic roles & 50–950 ramp

primary
#8071BB
secondary
#CDD2B5
accent
#CB5DB5
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8071BB

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

Preview Lab → · Contrast checker → · Palette generator →

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