#8071BC#8071BC

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

Color values

HEX#8071BC
RGBrgb(128, 113, 188)
HSLhsl(252, 36%, 59%)
HSVhsv(252, 40%, 74%)
CMYKcmyk(31.9%, 39.9%, 0%, 26.3%)
CIE-LABlab(51.87, 22.96, -37.46)
CIE-LCHlch(51.87, 43.94, 301.51°)
OKLaboklab(59.41% 0.0419 -0.1049)
OKLCHoklch(59.41% 0.113 291.8)
XYZxyz(23.8820, 20.0298, 50.1751)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8071BC #ADBC71
analogous
#7188BC #8071BC #A671BC
triadic
#8071BC #BC8071 #71BC80
tetradic
#8071BC #BC7188 #ADBC71 #71BCA6
square
#8071BC #BC7188 #ADBC71 #71BCA6
split-complementary
#8071BC #BCA671 #88BC71
monochromatic
#463979 #5E4DA3 #8071BC #A59BD0 #CAC4E3

Accessibility & contrast

On white

4.19
#8071BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8071BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8071BC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8071BC#FFFFFF#000000##000000
##8071BC1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7DBF
Deuteranopia (green-blind)
#5C7ABA
Tritanopia (blue-blind)
#727F8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8071bc;
/* rgb */ color: rgb(128, 113, 188);
/* oklch */ color: oklch(59.4% 0.113 291.8);
Tailwind
colors: {
  custom: {
    50: '#a79ad0',
    500: '#8071bc',
    950: '#000000',
  },
}
SCSS
$custom: #8071bc;
$custom-light: #a79ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8071bc",
  "rgb": {
    "r": 128,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 252,
    "s": 35.885,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59414,
    "c": 0.11293,
    "h": 291.8
  },
  "luminance": 0.2003
}

Semantic roles & 50–950 ramp

primary
#8071BC
secondary
#CDD3B6
accent
#CC5CB6
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8071BC

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

Preview Lab → · Contrast checker → · Palette generator →

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