#8772BD#8772BD

#8772BD is a mid, moderate violet. Relative luminance 0.209; OKLCH L 60.3% C 0.113 H 295.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8772BD
RGBrgb(135, 114, 189)
HSLhsl(257, 36%, 59%)
HSVhsv(257, 40%, 74%)
CMYKcmyk(28.6%, 39.7%, 0%, 25.9%)
CIE-LABlab(52.80, 24.65, -36.54)
CIE-LCHlch(52.80, 44.08, 304.00°)
OKLaboklab(60.28% 0.0491 -0.102)
OKLCHoklch(60.28% 0.113 295.7)
XYZxyz(25.1921, 20.8593, 50.8333)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772BD #A8BD72
analogous
#7283BD #8772BD #AD72BD
triadic
#8772BD #BD8772 #72BD87
tetradic
#8772BD #BD7283 #A8BD72 #72BDAD
square
#8772BD #BD7283 #A8BD72 #72BDAD
split-complementary
#8772BD #BDAD72 #83BD72
monochromatic
#4C3A7B #664DA5 #8772BD #AA9CD1 #CEC5E4

Accessibility & contrast

On white

4.06
#8772BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#8772BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8772BD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8772BD#FFFFFF#000000##000000
##8772BD1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7FC0
Deuteranopia (green-blind)
#607DBB
Tritanopia (blue-blind)
#7C7F8E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8772bd;
/* rgb */ color: rgb(135, 114, 189);
/* oklch */ color: oklch(60.3% 0.113 295.7);
Tailwind
colors: {
  custom: {
    50: '#ac9ad1',
    500: '#8772bd',
    950: '#000000',
  },
}
SCSS
$custom: #8772bd;
$custom-light: #ac9ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#8772bd",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 189
  },
  "hsl": {
    "h": 256.8,
    "s": 36.232,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60284,
    "c": 0.11324,
    "h": 295.7
  },
  "luminance": 0.2086
}

Semantic roles & 50–950 ramp

primary
#8772BD
secondary
#CCD4B7
accent
#CC5CAD
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8772BD

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

Preview Lab → · Contrast checker → · Palette generator →

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