#8071B8#8071B8

#8071B8 is a mid, moderate violet. Relative luminance 0.199; OKLCH L 59.2% C 0.107 H 292.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8071B8
RGBrgb(128, 113, 184)
HSLhsl(253, 33%, 58%)
HSVhsv(253, 39%, 72%)
CMYKcmyk(30.4%, 38.6%, 0%, 27.8%)
CIE-LABlab(51.68, 21.91, -35.46)
CIE-LCHlch(51.68, 41.68, 301.71°)
OKLaboklab(59.21% 0.0411 -0.0991)
OKLCHoklch(59.21% 0.107 292.5)
XYZxyz(23.4568, 19.8597, 47.9356)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8071B8 #A9B871
analogous
#7185B8 #8071B8 #A371B8
triadic
#8071B8 #B88071 #71B880
tetradic
#8071B8 #B87185 #A9B871 #71B8A3
square
#8071B8 #B87185 #A9B871 #71B8A3
split-complementary
#8071B8 #B8A371 #85B871
monochromatic
#463A74 #5F4F9D #8071B8 #A49ACC #C9C3E1

Accessibility & contrast

On white

4.22
#8071B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8071B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8071B8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8071B8#FFFFFF#000000##000000
##8071B81.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7CBB
Deuteranopia (green-blind)
#5E7AB6
Tritanopia (blue-blind)
#737E8C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8071b8;
/* rgb */ color: rgb(128, 113, 184);
/* oklch */ color: oklch(59.2% 0.107 292.5);
Tailwind
colors: {
  custom: {
    50: '#a69acd',
    500: '#8071b8',
    950: '#000000',
  },
}
SCSS
$custom: #8071b8;
$custom-light: #a69acd;
$custom-dark: #000000;
JSON
{
  "hex": "#8071b8",
  "rgb": {
    "r": 128,
    "g": 113,
    "b": 184
  },
  "hsl": {
    "h": 252.676,
    "s": 33.333,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59205,
    "c": 0.10724,
    "h": 292.5
  },
  "luminance": 0.1986
}

Semantic roles & 50–950 ramp

primary
#8071B8
secondary
#CBD1B4
accent
#C95EB3
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #8071B8

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

Preview Lab → · Contrast checker → · Palette generator →

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