#8771BF#8771BF

#8771BF is a mid, moderate violet. Relative luminance 0.207; OKLCH L 60.2% C 0.118 H 295.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8771BF
RGBrgb(135, 113, 191)
HSLhsl(257, 38%, 60%)
HSVhsv(257, 41%, 75%)
CMYKcmyk(29.3%, 40.8%, 0%, 25.1%)
CIE-LABlab(52.64, 25.75, -37.93)
CIE-LCHlch(52.64, 45.84, 304.17°)
OKLaboklab(60.2% 0.0509 -0.1061)
OKLCHoklch(60.2% 0.118 295.6)
XYZxyz(25.2985, 20.7224, 51.9471)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8771BF #A9BF71
analogous
#7182BF #8771BF #AE71BF
triadic
#8771BF #BF8771 #71BF87
tetradic
#8771BF #BF7182 #A9BF71 #71BFAE
square
#8771BF #BF7182 #A9BF71 #71BFAE
split-complementary
#8771BF #BFAE71 #82BF71
monochromatic
#4C387D #654BA7 #8771BF #AB9BD2 #CEC5E5

Accessibility & contrast

On white

4.08
#8771BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#8771BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8771BF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8771BF#FFFFFF#000000##000000
##8771BF1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7EC2
Deuteranopia (green-blind)
#5E7DBD
Tritanopia (blue-blind)
#7B7F8F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8771bf;
/* rgb */ color: rgb(135, 113, 191);
/* oklch */ color: oklch(60.2% 0.118 295.6);
Tailwind
colors: {
  custom: {
    50: '#ac9ad2',
    500: '#8771bf',
    950: '#000000',
  },
}
SCSS
$custom: #8771bf;
$custom-light: #ac9ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8771bf",
  "rgb": {
    "r": 135,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 256.923,
    "s": 37.864,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60201,
    "c": 0.11765,
    "h": 295.6
  },
  "luminance": 0.20723
}

Semantic roles & 50–950 ramp

primary
#8771BF
secondary
#CCD5B7
accent
#CE5AAD
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8771BF

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

Preview Lab → · Contrast checker → · Palette generator →

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