#8071BE#8071BE

#8071BE is a mid, moderate violet. Relative luminance 0.201; OKLCH L 59.5% C 0.116 H 291.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8071BE
RGBrgb(128, 113, 190)
HSLhsl(252, 37%, 59%)
HSVhsv(252, 41%, 75%)
CMYKcmyk(32.6%, 40.5%, 0%, 25.5%)
CIE-LABlab(51.97, 23.49, -38.46)
CIE-LCHlch(51.97, 45.07, 301.42°)
OKLaboklab(59.52% 0.0423 -0.1078)
OKLCHoklch(59.52% 0.116 291.4)
XYZxyz(24.0991, 20.1167, 51.3184)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8071BE #AFBE71
analogous
#7189BE #8071BE #A771BE
triadic
#8071BE #BE8071 #71BE80
tetradic
#8071BE #BE7189 #AFBE71 #71BEA7
square
#8071BE #BE7189 #AFBE71 #71BEA7
split-complementary
#8071BE #BEA771 #89BE71
monochromatic
#46397C #5D4CA6 #8071BE #A69BD1 #CBC5E4

Accessibility & contrast

On white

4.18
#8071BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#8071BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8071BE
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8071BE#FFFFFF#000000##000000
##8071BE1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7DC1
Deuteranopia (green-blind)
#5B7ABC
Tritanopia (blue-blind)
#717F8E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8071be;
/* rgb */ color: rgb(128, 113, 190);
/* oklch */ color: oklch(59.5% 0.116 291.4);
Tailwind
colors: {
  custom: {
    50: '#a79ad2',
    500: '#8071be',
    950: '#000000',
  },
}
SCSS
$custom: #8071be;
$custom-light: #a79ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8071be",
  "rgb": {
    "r": 128,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 251.688,
    "s": 37.198,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59521,
    "c": 0.11576,
    "h": 291.4
  },
  "luminance": 0.20117
}

Semantic roles & 50–950 ramp

primary
#8071BE
secondary
#CFD4B6
accent
#CD5BB7
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8071BE

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

Preview Lab → · Contrast checker → · Palette generator →

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