#AF77BF#AF77BF

#AF77BF is a light, vivid purple. Relative luminance 0.261; OKLCH L 65.3% C 0.121 H 318.5°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AF77BF
RGBrgb(175, 119, 191)
HSLhsl(287, 36%, 61%)
HSVhsv(287, 38%, 75%)
CMYKcmyk(8.4%, 37.7%, 0%, 25.1%)
CIE-LABlab(58.10, 34.40, -29.10)
CIE-LCHlch(58.10, 45.06, 319.77°)
OKLaboklab(65.27% 0.0904 -0.0799)
OKLCHoklch(65.27% 0.121 318.5)
XYZxyz(33.6787, 26.0701, 52.5380)
Luminance0.2607 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF77BF #87BF77
analogous
#8B77BF #AF77BF #BF77AB
triadic
#AF77BF #BFAF77 #77BFAF
tetradic
#AF77BF #BF8B77 #87BF77 #77ABBF
square
#AF77BF #BF8B77 #87BF77 #77ABBF
split-complementary
#AF77BF #ABBF77 #77BF8B
monochromatic
#713C80 #9550A9 #AF77BF #C7A1D3 #E0CAE6

Accessibility & contrast

On white

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

On black

6.21
#AF77BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF77BF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF77BF#FFFFFF#000000##000000
##AF77BF1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D88C2
Deuteranopia (green-blind)
#7B8EBD
Tritanopia (blue-blind)
#AF8092
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #af77bf;
/* rgb */ color: rgb(175, 119, 191);
/* oklch */ color: oklch(65.3% 0.121 318.5);
Tailwind
colors: {
  custom: {
    50: '#c89fd2',
    500: '#af77bf',
    950: '#000000',
  },
}
SCSS
$custom: #af77bf;
$custom-light: #c89fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#af77bf",
  "rgb": {
    "r": 175,
    "g": 119,
    "b": 191
  },
  "hsl": {
    "h": 286.667,
    "s": 36,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65266,
    "c": 0.12064,
    "h": 318.5
  },
  "luminance": 0.26069
}

Semantic roles & 50–950 ramp

primary
#AF77BF
secondary
#C1D7BB
accent
#AF3751
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AF77BF

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

Preview Lab → · Contrast checker → · Palette generator →

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