#8772AA#8772AA

#8772AA is a mid, moderate violet. Relative luminance 0.201; OKLCH L 59.3% C 0.087 H 301.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8772AA
RGBrgb(135, 114, 170)
HSLhsl(263, 25%, 56%)
HSVhsv(263, 33%, 67%)
CMYKcmyk(20.6%, 32.9%, 0%, 33.3%)
CIE-LABlab(51.94, 19.93, -26.91)
CIE-LCHlch(51.94, 33.49, 306.53°)
OKLaboklab(59.35% 0.0447 -0.0743)
OKLCHoklch(59.35% 0.087 301)
XYZxyz(23.2631, 20.0878, 40.6742)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772AA #95AA72
analogous
#7279AA #8772AA #A372AA
triadic
#8772AA #AA8772 #72AA87
tetradic
#8772AA #AA7279 #95AA72 #72AAA3
square
#8772AA #AA7279 #95AA72 #72AAA3
split-complementary
#8772AA #AAA372 #79AA72
monochromatic
#4C3D65 #68548B #8772AA #A798C1 #C8BED8

Accessibility & contrast

On white

4.19
#8772AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#8772AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8772AA#FFFFFF#000000##000000
##8772AA1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#667CAC
Deuteranopia (green-blind)
#697CA8
Tritanopia (blue-blind)
#817B86
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8772aa;
/* rgb */ color: rgb(135, 114, 170);
/* oklch */ color: oklch(59.3% 0.087 301.0);
Tailwind
colors: {
  custom: {
    50: '#ab9ac3',
    500: '#8772aa',
    950: '#000000',
  },
}
SCSS
$custom: #8772aa;
$custom-light: #ab9ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#8772aa",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 170
  },
  "hsl": {
    "h": 262.5,
    "s": 24.779,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59347,
    "c": 0.08671,
    "h": 301
  },
  "luminance": 0.20088
}

Semantic roles & 50–950 ramp

primary
#8772AA
secondary
#BFC8B0
accent
#C1679F
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8772AA

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

Preview Lab → · Contrast checker → · Palette generator →

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