#8771BB#8771BB

#8771BB is a mid, moderate violet. Relative luminance 0.205; OKLCH L 60.0% C 0.112 H 296.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8771BB
RGBrgb(135, 113, 187)
HSLhsl(258, 35%, 59%)
HSVhsv(258, 40%, 73%)
CMYKcmyk(27.8%, 39.6%, 0%, 26.7%)
CIE-LABlab(52.45, 24.73, -35.93)
CIE-LCHlch(52.45, 43.62, 304.54°)
OKLaboklab(59.99% 0.0501 -0.1003)
OKLCHoklch(59.99% 0.112 296.6)
XYZxyz(24.8643, 20.5487, 49.6604)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8771BB #A5BB71
analogous
#7180BB #8771BB #AC71BB
triadic
#8771BB #BB8771 #71BB87
tetradic
#8771BB #BB7180 #A5BB71 #71BBAC
square
#8771BB #BB7180 #A5BB71 #71BBAC
split-complementary
#8771BB #BBAC71 #80BB71
monochromatic
#4C3A78 #664DA1 #8771BB #AA9ACF #CDC4E3

Accessibility & contrast

On white

4.11
#8771BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#8771BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8771BB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8771BB#FFFFFF#000000##000000
##8771BB1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EBE
Deuteranopia (green-blind)
#607CB9
Tritanopia (blue-blind)
#7C7E8D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8771bb;
/* rgb */ color: rgb(135, 113, 187);
/* oklch */ color: oklch(60.0% 0.112 296.6);
Tailwind
colors: {
  custom: {
    50: '#ab9ad0',
    500: '#8771bb',
    950: '#000000',
  },
}
SCSS
$custom: #8771bb;
$custom-light: #ab9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8771bb",
  "rgb": {
    "r": 135,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 257.838,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59992,
    "c": 0.1121,
    "h": 296.6
  },
  "luminance": 0.20549
}

Semantic roles & 50–950 ramp

primary
#8771BB
secondary
#CAD2B5
accent
#CB5DAA
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8771BB

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

Preview Lab → · Contrast checker → · Palette generator →

#8771BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva