#AF76AA#AF76AA

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

Color values

HEX#AF76AA
RGBrgb(175, 118, 170)
HSLhsl(305, 26%, 57%)
HSVhsv(305, 33%, 69%)
CMYKcmyk(0%, 32.6%, 2.9%, 31.4%)
CIE-LABlab(57.05, 30.82, -18.70)
CIE-LCHlch(57.05, 36.05, 328.76°)
OKLaboklab(64.2% 0.0865 -0.0505)
OKLCHoklch(64.2% 0.1 329.7)
XYZxyz(31.4128, 24.9744, 41.1883)
Luminance0.2497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF76AA #76AF7B
analogous
#9776AF #AF76AA #AF768E
triadic
#AF76AA #AAAF76 #76AAAF
tetradic
#AF76AA #AF9776 #76AF7B #768EAF
square
#AF76AA #AF9776 #76AF7B #768EAF
split-complementary
#AF76AA #8EAF76 #76AF97
monochromatic
#6C3F68 #92558D #AF76AA #C69DC2 #DCC3DA

Accessibility & contrast

On white

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

On black

5.99
#AF76AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF76AA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF76AA#FFFFFF#000000##000000
##AF76AA1.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7484AC
Deuteranopia (green-blind)
#828CA8
Tritanopia (blue-blind)
#B37A89
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af76aa;
/* rgb */ color: rgb(175, 118, 170);
/* oklch */ color: oklch(64.2% 0.100 329.7);
Tailwind
colors: {
  custom: {
    50: '#c89ec3',
    500: '#af76aa',
    950: '#000000',
  },
}
SCSS
$custom: #af76aa;
$custom-light: #c89ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#af76aa",
  "rgb": {
    "r": 175,
    "g": 118,
    "b": 170
  },
  "hsl": {
    "h": 305.263,
    "s": 26.267,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64197,
    "c": 0.10016,
    "h": 329.7
  },
  "luminance": 0.24973
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF76AA

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

Preview Lab → · Contrast checker → · Palette generator →

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