#8772BF#8772BF

#8772BF is a mid, moderate violet. Relative luminance 0.209; OKLCH L 60.4% C 0.116 H 295.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8772BF
RGBrgb(135, 114, 191)
HSLhsl(256, 38%, 60%)
HSVhsv(256, 40%, 75%)
CMYKcmyk(29.3%, 40.3%, 0%, 25.1%)
CIE-LABlab(52.89, 25.16, -37.54)
CIE-LCHlch(52.89, 45.19, 303.83°)
OKLaboklab(60.39% 0.0495 -0.1049)
OKLCHoklch(60.39% 0.116 295.3)
XYZxyz(25.4107, 20.9468, 51.9845)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772BF #AABF72
analogous
#7283BF #8772BF #AE72BF
triadic
#8772BF #BF8772 #72BF87
tetradic
#8772BF #BF7283 #AABF72 #72BFAE
square
#8772BF #BF7283 #AABF72 #72BFAE
split-complementary
#8772BF #BFAE72 #83BF72
monochromatic
#4C397E #654CA8 #8772BF #AB9CD2 #CFC6E5

Accessibility & contrast

On white

4.05
#8772BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8772BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8772BF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8772BF#FFFFFF#000000##000000
##8772BF1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7FC2
Deuteranopia (green-blind)
#5F7DBD
Tritanopia (blue-blind)
#7B808F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8772bf;
/* rgb */ color: rgb(135, 114, 191);
/* oklch */ color: oklch(60.4% 0.116 295.3);
Tailwind
colors: {
  custom: {
    50: '#ac9ad2',
    500: '#8772bf',
    950: '#000000',
  },
}
SCSS
$custom: #8772bf;
$custom-light: #ac9ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8772bf",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 191
  },
  "hsl": {
    "h": 256.364,
    "s": 37.561,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60388,
    "c": 0.11602,
    "h": 295.3
  },
  "luminance": 0.20947
}

Semantic roles & 50–950 ramp

primary
#8772BF
secondary
#CDD5B8
accent
#CE5AAE
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8772BF

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

Preview Lab → · Contrast checker → · Palette generator →

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