#8071AC#8071AC

#8071AC is a mid, moderate violet. Relative luminance 0.194; OKLCH L 58.6% C 0.090 H 295.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8071AC
RGBrgb(128, 113, 172)
HSLhsl(255, 26%, 56%)
HSVhsv(255, 34%, 67%)
CMYKcmyk(25.6%, 34.3%, 0%, 32.5%)
CIE-LABlab(51.13, 18.82, -29.38)
CIE-LCHlch(51.13, 34.89, 302.65°)
OKLaboklab(58.6% 0.0383 -0.0815)
OKLCHoklch(58.6% 0.09 295.2)
XYZxyz(22.2519, 19.3778, 41.5897)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8071AC #9DAC71
analogous
#717FAC #8071AC #9D71AC
triadic
#8071AC #AC8071 #71AC80
tetradic
#8071AC #AC717F #9DAC71 #71AC9D
square
#8071AC #AC717F #9DAC71 #71AC9D
split-complementary
#8071AC #AC9D71 #7FAC71
monochromatic
#473C67 #61538D #8071AC #A398C3 #C5BED9

Accessibility & contrast

On white

4.31
#8071AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#8071AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8071AC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8071AC#FFFFFF#000000##000000
##8071AC1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#627AAE
Deuteranopia (green-blind)
#6479AA
Tritanopia (blue-blind)
#777B87
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8071ac;
/* rgb */ color: rgb(128, 113, 172);
/* oklch */ color: oklch(58.6% 0.090 295.2);
Tailwind
colors: {
  custom: {
    50: '#a69ac5',
    500: '#8071ac',
    950: '#000000',
  },
}
SCSS
$custom: #8071ac;
$custom-light: #a69ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#8071ac",
  "rgb": {
    "r": 128,
    "g": 113,
    "b": 172
  },
  "hsl": {
    "h": 255.254,
    "s": 26.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58602,
    "c": 0.09006,
    "h": 295.2
  },
  "luminance": 0.19378
}

Semantic roles & 50–950 ramp

primary
#8071AC
secondary
#C2C9B0
accent
#C365AB
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #8071AC

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

Preview Lab → · Contrast checker → · Palette generator →

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