#8B71AC#8B71AC

#8B71AC is a mid, moderate violet. Relative luminance 0.203; OKLCH L 59.6% C 0.092 H 304.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8B71AC
RGBrgb(139, 113, 172)
HSLhsl(266, 26%, 56%)
HSVhsv(266, 34%, 67%)
CMYKcmyk(19.2%, 34.3%, 0%, 32.5%)
CIE-LABlab(52.15, 22.27, -27.71)
CIE-LCHlch(52.15, 35.55, 308.79°)
OKLaboklab(59.63% 0.0515 -0.0765)
OKLCHoklch(59.63% 0.092 304)
XYZxyz(23.9975, 20.2778, 41.6715)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B71AC #92AC71
analogous
#7174AC #8B71AC #A871AC
triadic
#8B71AC #AC8B71 #71AC8B
tetradic
#8B71AC #AC7174 #92AC71 #71ACA8
square
#8B71AC #AC7174 #92AC71 #71ACA8
split-complementary
#8B71AC #ACA871 #74AC71
monochromatic
#4F3C67 #6C538D #8B71AC #AB98C3 #CABED9

Accessibility & contrast

On white

4.15
#8B71AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8B71AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B71AC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B71AC#FFFFFF#000000##000000
##8B71AC1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#647CAE
Deuteranopia (green-blind)
#6A7CAA
Tritanopia (blue-blind)
#867A87
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8b71ac;
/* rgb */ color: rgb(139, 113, 172);
/* oklch */ color: oklch(59.6% 0.092 304.0);
Tailwind
colors: {
  custom: {
    50: '#ae9ac5',
    500: '#8b71ac',
    950: '#000000',
  },
}
SCSS
$custom: #8b71ac;
$custom-light: #ae9ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b71ac",
  "rgb": {
    "r": 139,
    "g": 113,
    "b": 172
  },
  "hsl": {
    "h": 266.441,
    "s": 26.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59629,
    "c": 0.09226,
    "h": 304
  },
  "luminance": 0.20278
}

Semantic roles & 50–950 ramp

primary
#8B71AC
secondary
#BEC9B0
accent
#C36599
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8B71AC

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

Preview Lab → · Contrast checker → · Palette generator →

#8B71AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva