#AF76BD#AF76BD

#AF76BD is a light, vivid purple. Relative luminance 0.257; OKLCH L 65.0% C 0.120 H 319.5°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AF76BD
RGBrgb(175, 118, 189)
HSLhsl(288, 35%, 60%)
HSVhsv(288, 38%, 74%)
CMYKcmyk(7.4%, 37.6%, 0%, 25.9%)
CIE-LABlab(57.80, 34.55, -28.44)
CIE-LCHlch(57.80, 44.75, 320.54°)
OKLaboklab(65.01% 0.0915 -0.078)
OKLCHoklch(65.01% 0.12 319.5)
XYZxyz(33.3417, 25.7459, 51.3474)
Luminance0.2575 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF76BD #84BD76
analogous
#8B76BD #AF76BD #BD76A7
triadic
#AF76BD #BDAF76 #76BDAF
tetradic
#AF76BD #BD8B76 #84BD76 #76A7BD
square
#AF76BD #BD8B76 #84BD76 #76A7BD
split-complementary
#AF76BD #A7BD76 #76BD8B
monochromatic
#703C7D #9550A6 #AF76BD #C79FD1 #DFC9E5

Accessibility & contrast

On white

3.42
#AF76BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#AF76BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF76BD
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF76BD#FFFFFF#000000##000000
##AF76BD1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D87C0
Deuteranopia (green-blind)
#7B8DBB
Tritanopia (blue-blind)
#B07E91
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af76bd;
/* rgb */ color: rgb(175, 118, 189);
/* oklch */ color: oklch(65.0% 0.120 319.5);
Tailwind
colors: {
  custom: {
    50: '#c89ed1',
    500: '#af76bd',
    950: '#000000',
  },
}
SCSS
$custom: #af76bd;
$custom-light: #c89ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#af76bd",
  "rgb": {
    "r": 175,
    "g": 118,
    "b": 189
  },
  "hsl": {
    "h": 288.169,
    "s": 34.975,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65006,
    "c": 0.12019,
    "h": 319.5
  },
  "luminance": 0.25745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF76BD

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

Preview Lab → · Contrast checker → · Palette generator →

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