#A77BB2#A77BB2

#A77BB2 is a light, moderate purple. Relative luminance 0.256; OKLCH L 64.6% C 0.094 H 319.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A77BB2
RGBrgb(167, 123, 178)
HSLhsl(288, 26%, 59%)
HSVhsv(288, 31%, 70%)
CMYKcmyk(6.2%, 30.9%, 0%, 30.2%)
CIE-LABlab(57.65, 26.91, -22.45)
CIE-LCHlch(57.65, 35.04, 320.17°)
OKLaboklab(64.56% 0.0715 -0.0612)
OKLCHoklch(64.56% 0.094 319.5)
XYZxyz(31.0541, 25.5965, 45.4156)
Luminance0.2560 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77BB2 #86B27B
analogous
#8C7BB2 #A77BB2 #B27BA2
triadic
#A77BB2 #B2A77B #7BB2A7
tetradic
#A77BB2 #B28C7B #86B27B #7BA2B2
square
#A77BB2 #B28C7B #86B27B #7BA2B2
split-complementary
#A77BB2 #A2B27B #7BB28C
monochromatic
#674271 #8B5897 #A77BB2 #C1A2C9 #DBC8DF

Accessibility & contrast

On white

3.43
#A77BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#A77BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77BB2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77BB2#FFFFFF#000000##000000
##A77BB21.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7487B4
Deuteranopia (green-blind)
#7F8CB0
Tritanopia (blue-blind)
#A8818F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a77bb2;
/* rgb */ color: rgb(167, 123, 178);
/* oklch */ color: oklch(64.6% 0.094 319.5);
Tailwind
colors: {
  custom: {
    50: '#c2a1c9',
    500: '#a77bb2',
    950: '#000000',
  },
}
SCSS
$custom: #a77bb2;
$custom-light: #c2a1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a77bb2",
  "rgb": {
    "r": 167,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 288,
    "s": 26.316,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64557,
    "c": 0.09409,
    "h": 319.5
  },
  "luminance": 0.25596
}

Semantic roles & 50–950 ramp

primary
#A77BB2
secondary
#BECFBA
accent
#C36578
background
#FBF9FC
surface
#F7F2F8
border
#D0CCD1
text
#120F13
muted
#817E82

Preview Lab

Preview with #A77BB2

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

Preview Lab → · Contrast checker → · Palette generator →

#A77BB2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva