#AF77BD#AF77BD

#AF77BD is a light, moderate purple. Relative luminance 0.260; OKLCH L 65.2% C 0.118 H 319.4°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AF77BD
RGBrgb(175, 119, 189)
HSLhsl(288, 35%, 60%)
HSVhsv(288, 37%, 74%)
CMYKcmyk(7.4%, 37%, 0%, 25.9%)
CIE-LABlab(58.02, 33.99, -28.09)
CIE-LCHlch(58.02, 44.10, 320.43°)
OKLaboklab(65.18% 0.09 -0.077)
OKLCHoklch(65.18% 0.118 319.4)
XYZxyz(33.4601, 25.9827, 51.3868)
Luminance0.2598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF77BD #85BD77
analogous
#8C77BD #AF77BD #BD77A8
triadic
#AF77BD #BDAF77 #77BDAF
tetradic
#AF77BD #BD8C77 #85BD77 #77A8BD
square
#AF77BD #BD8C77 #85BD77 #77A8BD
split-complementary
#AF77BD #A8BD77 #77BD8C
monochromatic
#703D7D #9551A6 #AF77BD #C7A0D1 #DFC9E5

Accessibility & contrast

On white

3.39
#AF77BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#AF77BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF77BD
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF77BD#FFFFFF#000000##000000
##AF77BD1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E88C0
Deuteranopia (green-blind)
#7C8DBB
Tritanopia (blue-blind)
#B07F91
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af77bd;
/* rgb */ color: rgb(175, 119, 189);
/* oklch */ color: oklch(65.2% 0.118 319.4);
Tailwind
colors: {
  custom: {
    50: '#c89fd1',
    500: '#af77bd',
    950: '#000000',
  },
}
SCSS
$custom: #af77bd;
$custom-light: #c89fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#af77bd",
  "rgb": {
    "r": 175,
    "g": 119,
    "b": 189
  },
  "hsl": {
    "h": 288,
    "s": 34.653,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65176,
    "c": 0.1184,
    "h": 319.4
  },
  "luminance": 0.25982
}

Semantic roles & 50–950 ramp

primary
#AF77BD
secondary
#C0D5BB
accent
#AD3850
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AF77BD

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

Preview Lab → · Contrast checker → · Palette generator →

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