#AF77BB#AF77BB

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

Color values

HEX#AF77BB
RGBrgb(175, 119, 187)
HSLhsl(289, 33%, 60%)
HSVhsv(289, 36%, 73%)
CMYKcmyk(6.4%, 36.4%, 0%, 26.7%)
CIE-LABlab(57.94, 33.59, -27.08)
CIE-LCHlch(57.94, 43.14, 321.12°)
OKLaboklab(65.09% 0.0895 -0.0741)
OKLCHoklch(65.09% 0.116 320.4)
XYZxyz(33.2445, 25.8965, 50.2514)
Luminance0.2590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF77BB #83BB77
analogous
#8D77BB #AF77BB #BB77A5
triadic
#AF77BB #BBAF77 #77BBAF
tetradic
#AF77BB #BB8D77 #83BB77 #77A5BB
square
#AF77BB #BB8D77 #83BB77 #77A5BB
split-complementary
#AF77BB #A5BB77 #77BB8D
monochromatic
#703D7A #9552A3 #AF77BB #C7A0CF #DFC9E4

Accessibility & contrast

On white

3.40
#AF77BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#AF77BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF77BB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF77BB#FFFFFF#000000##000000
##AF77BB1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F87BE
Deuteranopia (green-blind)
#7C8DB9
Tritanopia (blue-blind)
#B07F90
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af77bb;
/* rgb */ color: rgb(175, 119, 187);
/* oklch */ color: oklch(65.1% 0.116 320.4);
Tailwind
colors: {
  custom: {
    50: '#c89fcf',
    500: '#af77bb',
    950: '#000000',
  },
}
SCSS
$custom: #af77bb;
$custom-light: #c89fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#af77bb",
  "rgb": {
    "r": 175,
    "g": 119,
    "b": 187
  },
  "hsl": {
    "h": 289.412,
    "s": 33.333,
    "l": 60
  },
  "oklch": {
    "l": 0.65087,
    "c": 0.11619,
    "h": 320.4
  },
  "luminance": 0.25895
}

Semantic roles & 50–950 ramp

primary
#AF77BB
secondary
#BED4BA
accent
#C95E71
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AF77BB

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

Preview Lab → · Contrast checker → · Palette generator →

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