#AF76AB#AF76AB

#AF76AB is a light, moderate purple. Relative luminance 0.250; OKLCH L 64.2% C 0.101 H 329.1°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AF76AB
RGBrgb(175, 118, 171)
HSLhsl(304, 26%, 57%)
HSVhsv(304, 33%, 69%)
CMYKcmyk(0%, 32.6%, 2.3%, 31.4%)
CIE-LABlab(57.09, 31.01, -19.21)
CIE-LCHlch(57.09, 36.48, 328.22°)
OKLaboklab(64.24% 0.0868 -0.0519)
OKLCHoklch(64.24% 0.101 329.1)
XYZxyz(31.5078, 25.0123, 41.6884)
Luminance0.2501 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF76AB #76AF7A
analogous
#9776AF #AF76AB #AF768E
triadic
#AF76AB #ABAF76 #76ABAF
tetradic
#AF76AB #AF9776 #76AF7A #768EAF
square
#AF76AB #AF9776 #76AF7A #768EAF
split-complementary
#AF76AB #8EAF76 #76AF97
monochromatic
#6C3F69 #92558E #AF76AB #C69DC3 #DCC3DA

Accessibility & contrast

On white

3.50
#AF76AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#AF76AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF76AB
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF76AB#FFFFFF#000000##000000
##AF76AB1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7384AD
Deuteranopia (green-blind)
#818CA9
Tritanopia (blue-blind)
#B37A89
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af76ab;
/* rgb */ color: rgb(175, 118, 171);
/* oklch */ color: oklch(64.2% 0.101 329.1);
Tailwind
colors: {
  custom: {
    50: '#c89ec4',
    500: '#af76ab',
    950: '#000000',
  },
}
SCSS
$custom: #af76ab;
$custom-light: #c89ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#af76ab",
  "rgb": {
    "r": 175,
    "g": 118,
    "b": 171
  },
  "hsl": {
    "h": 304.211,
    "s": 26.267,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64237,
    "c": 0.10113,
    "h": 329.1
  },
  "luminance": 0.25011
}

Semantic roles & 50–950 ramp

primary
#AF76AB
secondary
#B5CCB7
accent
#C36C65
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130E12
muted
#827E81

Preview Lab

Preview with #AF76AB

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

Preview Lab → · Contrast checker → · Palette generator →

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