#8B71BB#8B71BB

#8B71BB is a mid, moderate violet. Relative luminance 0.209; OKLCH L 60.4% C 0.113 H 299.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8B71BB
RGBrgb(139, 113, 187)
HSLhsl(261, 35%, 59%)
HSVhsv(261, 40%, 73%)
CMYKcmyk(25.7%, 39.6%, 0%, 26.7%)
CIE-LABlab(52.83, 25.90, -35.32)
CIE-LCHlch(52.83, 43.80, 306.26°)
OKLaboklab(60.36% 0.055 -0.0984)
OKLCHoklch(60.36% 0.113 299.2)
XYZxyz(25.5202, 20.8869, 49.6912)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B71BB #A1BB71
analogous
#717CBB #8B71BB #B071BB
triadic
#8B71BB #BB8B71 #71BB8B
tetradic
#8B71BB #BB717C #A1BB71 #71BBB0
square
#8B71BB #BB717C #A1BB71 #71BBB0
split-complementary
#8B71BB #BBB071 #7CBB71
monochromatic
#4F3A78 #6B4DA1 #8B71BB #AD9ACF #CFC4E3

Accessibility & contrast

On white

4.06
#8B71BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8B71BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B71BB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B71BB#FFFFFF#000000##000000
##8B71BB1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBE
Deuteranopia (green-blind)
#637EB9
Tritanopia (blue-blind)
#827D8D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8b71bb;
/* rgb */ color: rgb(139, 113, 187);
/* oklch */ color: oklch(60.4% 0.113 299.2);
Tailwind
colors: {
  custom: {
    50: '#ae9ad0',
    500: '#8b71bb',
    950: '#000000',
  },
}
SCSS
$custom: #8b71bb;
$custom-light: #ae9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b71bb",
  "rgb": {
    "r": 139,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 261.081,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60364,
    "c": 0.11272,
    "h": 299.2
  },
  "luminance": 0.20887
}

Semantic roles & 50–950 ramp

primary
#8B71BB
secondary
#C8D2B5
accent
#CB5DA4
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8B71BB

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

Preview Lab → · Contrast checker → · Palette generator →

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