#8B71B8#8B71B8

#8B71B8 is a mid, moderate violet. Relative luminance 0.208; OKLCH L 60.2% C 0.109 H 300.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8B71B8
RGBrgb(139, 113, 184)
HSLhsl(262, 33%, 58%)
HSVhsv(262, 39%, 72%)
CMYKcmyk(24.5%, 38.6%, 0%, 27.8%)
CIE-LABlab(52.69, 25.16, -33.81)
CIE-LCHlch(52.69, 42.15, 306.66°)
OKLaboklab(60.21% 0.0544 -0.0941)
OKLCHoklch(60.21% 0.109 300)
XYZxyz(25.2024, 20.7598, 48.0174)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B71B8 #9EB871
analogous
#717AB8 #8B71B8 #AE71B8
triadic
#8B71B8 #B88B71 #71B88B
tetradic
#8B71B8 #B8717A #9EB871 #71B8AE
square
#8B71B8 #B8717A #9EB871 #71B8AE
split-complementary
#8B71B8 #B8AE71 #7AB871
monochromatic
#503A74 #6B4F9D #8B71B8 #AC9ACC #CEC3E1

Accessibility & contrast

On white

4.08
#8B71B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8B71B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B71B8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B71B8#FFFFFF#000000##000000
##8B71B81.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7EBB
Deuteranopia (green-blind)
#647DB6
Tritanopia (blue-blind)
#837D8C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8b71b8;
/* rgb */ color: rgb(139, 113, 184);
/* oklch */ color: oklch(60.2% 0.109 300.0);
Tailwind
colors: {
  custom: {
    50: '#ae9acd',
    500: '#8b71b8',
    950: '#000000',
  },
}
SCSS
$custom: #8b71b8;
$custom-light: #ae9acd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b71b8",
  "rgb": {
    "r": 139,
    "g": 113,
    "b": 184
  },
  "hsl": {
    "h": 261.972,
    "s": 33.333,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60212,
    "c": 0.10863,
    "h": 300
  },
  "luminance": 0.2076
}

Semantic roles & 50–950 ramp

primary
#8B71B8
secondary
#C6D1B4
accent
#C95EA2
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8B71B8

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

Preview Lab → · Contrast checker → · Palette generator →

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