#8772B2#8772B2

#8772B2 is a mid, moderate violet. Relative luminance 0.204; OKLCH L 59.7% C 0.098 H 298.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8772B2
RGBrgb(135, 114, 178)
HSLhsl(260, 29%, 57%)
HSVhsv(260, 36%, 70%)
CMYKcmyk(24.2%, 36%, 0%, 30.2%)
CIE-LABlab(52.29, 21.88, -31.00)
CIE-LCHlch(52.29, 37.94, 305.22°)
OKLaboklab(59.73% 0.0467 -0.086)
OKLCHoklch(59.73% 0.098 298.5)
XYZxyz(24.0431, 20.3997, 44.7817)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772B2 #9DB272
analogous
#727DB2 #8772B2 #A772B2
triadic
#8772B2 #B28772 #72B287
tetradic
#8772B2 #B2727D #9DB272 #72B2A7
square
#8772B2 #B2727D #9DB272 #72B2A7
split-complementary
#8772B2 #B2A772 #7DB272
monochromatic
#4C3C6E #685295 #8772B2 #A99AC8 #CAC1DD

Accessibility & contrast

On white

4.13
#8772B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#8772B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8772B2#FFFFFF#000000##000000
##8772B21.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#627DB5
Deuteranopia (green-blind)
#667CB0
Tritanopia (blue-blind)
#7F7D8A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8772b2;
/* rgb */ color: rgb(135, 114, 178);
/* oklch */ color: oklch(59.7% 0.098 298.5);
Tailwind
colors: {
  custom: {
    50: '#ab9ac9',
    500: '#8772b2',
    950: '#000000',
  },
}
SCSS
$custom: #8772b2;
$custom-light: #ab9ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#8772b2",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 178
  },
  "hsl": {
    "h": 259.688,
    "s": 29.358,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59729,
    "c": 0.0979,
    "h": 298.5
  },
  "luminance": 0.204
}

Semantic roles & 50–950 ramp

primary
#8772B2
secondary
#C4CDB3
accent
#C662A5
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8772B2

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

Preview Lab → · Contrast checker → · Palette generator →

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