#A77DB2#A77DB2

#A77DB2 is a light, moderate purple. Relative luminance 0.261; OKLCH L 64.9% C 0.090 H 319.2°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A77DB2
RGBrgb(167, 125, 178)
HSLhsl(288, 26%, 59%)
HSVhsv(288, 30%, 70%)
CMYKcmyk(6.2%, 29.8%, 0%, 30.2%)
CIE-LABlab(58.13, 25.77, -21.71)
CIE-LCHlch(58.13, 33.70, 319.89°)
OKLaboklab(64.92% 0.0684 -0.0591)
OKLCHoklch(64.92% 0.09 319.2)
XYZxyz(31.3048, 26.0978, 45.4991)
Luminance0.2610 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77DB2 #88B27D
analogous
#8D7DB2 #A77DB2 #B27DA3
triadic
#A77DB2 #B2A77D #7DB2A7
tetradic
#A77DB2 #B28D7D #88B27D #7DA3B2
square
#A77DB2 #B28D7D #88B27D #7DA3B2
split-complementary
#A77DB2 #A3B27D #7DB28D
monochromatic
#684371 #8B5A98 #A77DB2 #C1A3C9 #DBCAE0

Accessibility & contrast

On white

3.38
#A77DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#A77DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77DB2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77DB2#FFFFFF#000000##000000
##A77DB21.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7789B4
Deuteranopia (green-blind)
#808DB0
Tritanopia (blue-blind)
#A88390
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a77db2;
/* rgb */ color: rgb(167, 125, 178);
/* oklch */ color: oklch(64.9% 0.090 319.2);
Tailwind
colors: {
  custom: {
    50: '#c1a3c9',
    500: '#a77db2',
    950: '#000000',
  },
}
SCSS
$custom: #a77db2;
$custom-light: #c1a3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a77db2",
  "rgb": {
    "r": 167,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 287.547,
    "s": 25.604,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64922,
    "c": 0.09041,
    "h": 319.2
  },
  "luminance": 0.26097
}

Semantic roles & 50–950 ramp

primary
#A77DB2
secondary
#BFD0BB
accent
#C26679
background
#FBFAFC
surface
#F7F4F8
border
#D0CED1
text
#120F13
muted
#817F82

Preview Lab

Preview with #A77DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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