#8772BC#8772BC

#8772BC is a mid, moderate violet. Relative luminance 0.208; OKLCH L 60.2% C 0.112 H 295.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8772BC
RGBrgb(135, 114, 188)
HSLhsl(257, 36%, 59%)
HSVhsv(257, 39%, 74%)
CMYKcmyk(28.2%, 39.4%, 0%, 26.3%)
CIE-LABlab(52.75, 24.39, -36.04)
CIE-LCHlch(52.75, 43.52, 304.09°)
OKLaboklab(60.23% 0.0489 -0.1006)
OKLCHoklch(60.23% 0.112 295.9)
XYZxyz(25.0839, 20.8161, 50.2636)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772BC #A7BC72
analogous
#7282BC #8772BC #AC72BC
triadic
#8772BC #BC8772 #72BC87
tetradic
#8772BC #BC7282 #A7BC72 #72BCAC
square
#8772BC #BC7282 #A7BC72 #72BCAC
split-complementary
#8772BC #BCAC72 #82BC72
monochromatic
#4C3A7A #664EA3 #8772BC #AA9BD0 #CEC5E3

Accessibility & contrast

On white

4.07
#8772BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#8772BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8772BC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8772BC#FFFFFF#000000##000000
##8772BC1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBF
Deuteranopia (green-blind)
#617DBA
Tritanopia (blue-blind)
#7C7F8E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8772bc;
/* rgb */ color: rgb(135, 114, 188);
/* oklch */ color: oklch(60.2% 0.112 295.9);
Tailwind
colors: {
  custom: {
    50: '#ab9ad0',
    500: '#8772bc',
    950: '#000000',
  },
}
SCSS
$custom: #8772bc;
$custom-light: #ab9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8772bc",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 188
  },
  "hsl": {
    "h": 257.027,
    "s": 35.577,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60232,
    "c": 0.11186,
    "h": 295.9
  },
  "luminance": 0.20816
}

Semantic roles & 50–950 ramp

primary
#8772BC
secondary
#CBD3B6
accent
#CC5CAC
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8772BC

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

Preview Lab → · Contrast checker → · Palette generator →

#8772BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva