#AF77BC#AF77BC

#AF77BC is a light, moderate purple. Relative luminance 0.259; OKLCH L 65.1% C 0.117 H 319.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AF77BC
RGBrgb(175, 119, 188)
HSLhsl(289, 34%, 60%)
HSVhsv(289, 37%, 74%)
CMYKcmyk(6.9%, 36.7%, 0%, 26.3%)
CIE-LABlab(57.98, 33.79, -27.59)
CIE-LCHlch(57.98, 43.62, 320.77°)
OKLaboklab(65.13% 0.0897 -0.0756)
OKLCHoklch(65.13% 0.117 319.9)
XYZxyz(33.3520, 25.9394, 50.8171)
Luminance0.2594 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF77BC #84BC77
analogous
#8D77BC #AF77BC #BC77A6
triadic
#AF77BC #BCAF77 #77BCAF
tetradic
#AF77BC #BC8D77 #84BC77 #77A6BC
square
#AF77BC #BC8D77 #84BC77 #77A6BC
split-complementary
#AF77BC #A6BC77 #77BC8D
monochromatic
#703D7C #9551A5 #AF77BC #C7A0D0 #DFC9E4

Accessibility & contrast

On white

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

On black

6.19
#AF77BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF77BC
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF77BC#FFFFFF#000000##000000
##AF77BC1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af77bc;
/* rgb */ color: rgb(175, 119, 188);
/* oklch */ color: oklch(65.1% 0.117 319.9);
Tailwind
colors: {
  custom: {
    50: '#c89fd0',
    500: '#af77bc',
    950: '#000000',
  },
}
SCSS
$custom: #af77bc;
$custom-light: #c89fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#af77bc",
  "rgb": {
    "r": 175,
    "g": 119,
    "b": 188
  },
  "hsl": {
    "h": 288.696,
    "s": 33.99,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65131,
    "c": 0.11729,
    "h": 319.9
  },
  "luminance": 0.25938
}

Semantic roles & 50–950 ramp

primary
#AF77BC
secondary
#BFD5BA
accent
#AD394F
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AF77BC

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

Preview Lab → · Contrast checker → · Palette generator →

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