#8071BF#8071BF

#8071BF is a mid, moderate violet. Relative luminance 0.202; OKLCH L 59.6% C 0.117 H 291.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8071BF
RGBrgb(128, 113, 191)
HSLhsl(252, 38%, 60%)
HSVhsv(252, 41%, 75%)
CMYKcmyk(33%, 40.8%, 0%, 25.1%)
CIE-LABlab(52.02, 23.76, -38.95)
CIE-LCHlch(52.02, 45.63, 301.38°)
OKLaboklab(59.58% 0.0425 -0.1092)
OKLCHoklch(59.58% 0.117 291.3)
XYZxyz(24.2088, 20.1605, 51.8960)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8071BF #B0BF71
analogous
#7189BF #8071BF #A771BF
triadic
#8071BF #BF8071 #71BF80
tetradic
#8071BF #BF7189 #B0BF71 #71BFA7
square
#8071BF #BF7189 #B0BF71 #71BFA7
split-complementary
#8071BF #BFA771 #89BF71
monochromatic
#46387D #5D4BA7 #8071BF #A69BD2 #CBC5E5

Accessibility & contrast

On white

4.17
#8071BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8071BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8071BF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8071BF#FFFFFF#000000##000000
##8071BF1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#597DC2
Deuteranopia (green-blind)
#5A7ABD
Tritanopia (blue-blind)
#717F8F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8071bf;
/* rgb */ color: rgb(128, 113, 191);
/* oklch */ color: oklch(59.6% 0.117 291.3);
Tailwind
colors: {
  custom: {
    50: '#a79ad2',
    500: '#8071bf',
    950: '#000000',
  },
}
SCSS
$custom: #8071bf;
$custom-light: #a79ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8071bf",
  "rgb": {
    "r": 128,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 251.538,
    "s": 37.864,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59575,
    "c": 0.11717,
    "h": 291.3
  },
  "luminance": 0.20161
}

Semantic roles & 50–950 ramp

primary
#8071BF
secondary
#CFD5B7
accent
#CE5AB8
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8071BF

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

Preview Lab → · Contrast checker → · Palette generator →

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