#8772BE#8772BE

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

Color values

HEX#8772BE
RGBrgb(135, 114, 190)
HSLhsl(257, 37%, 60%)
HSVhsv(257, 40%, 75%)
CMYKcmyk(28.9%, 40%, 0%, 25.5%)
CIE-LABlab(52.84, 24.90, -37.04)
CIE-LCHlch(52.84, 44.63, 303.91°)
OKLaboklab(60.34% 0.0493 -0.1035)
OKLCHoklch(60.34% 0.115 295.5)
XYZxyz(25.3010, 20.9029, 51.4069)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772BE #A9BE72
analogous
#7283BE #8772BE #AD72BE
triadic
#8772BE #BE8772 #72BE87
tetradic
#8772BE #BE7283 #A9BE72 #72BEAD
square
#8772BE #BE7283 #A9BE72 #72BEAD
split-complementary
#8772BE #BEAD72 #83BE72
monochromatic
#4C397C #654DA6 #8772BE #AB9CD1 #CEC6E5

Accessibility & contrast

On white

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

On black

5.18
#8772BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8772BE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8772BE#FFFFFF#000000##000000
##8772BE1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7FC1
Deuteranopia (green-blind)
#607DBC
Tritanopia (blue-blind)
#7B7F8F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8772be;
/* rgb */ color: rgb(135, 114, 190);
/* oklch */ color: oklch(60.3% 0.115 295.5);
Tailwind
colors: {
  custom: {
    50: '#ac9ad2',
    500: '#8772be',
    950: '#000000',
  },
}
SCSS
$custom: #8772be;
$custom-light: #ac9ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8772be",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 190
  },
  "hsl": {
    "h": 256.579,
    "s": 36.893,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60336,
    "c": 0.11464,
    "h": 295.5
  },
  "luminance": 0.20903
}

Semantic roles & 50–950 ramp

primary
#8772BE
secondary
#CCD5B7
accent
#CD5BAD
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8772BE

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

Preview Lab → · Contrast checker → · Palette generator →

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