#AF76BC#AF76BC

#AF76BC is a light, moderate purple. Relative luminance 0.257; OKLCH L 65.0% C 0.119 H 320.0°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AF76BC
RGBrgb(175, 118, 188)
HSLhsl(289, 34%, 60%)
HSVhsv(289, 37%, 74%)
CMYKcmyk(6.9%, 37.2%, 0%, 26.3%)
CIE-LABlab(57.75, 34.34, -27.93)
CIE-LCHlch(57.75, 44.27, 320.88°)
OKLaboklab(64.96% 0.0912 -0.0765)
OKLCHoklch(64.96% 0.119 320)
XYZxyz(33.2336, 25.7027, 50.7777)
Luminance0.2570 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF76BC #83BC76
analogous
#8C76BC #AF76BC #BC76A6
triadic
#AF76BC #BCAF76 #76BCAF
tetradic
#AF76BC #BC8C76 #83BC76 #76A6BC
square
#AF76BC #BC8C76 #83BC76 #76A6BC
split-complementary
#AF76BC #A6BC76 #76BC8C
monochromatic
#703C7B #9550A4 #AF76BC #C79FD0 #DFC8E4

Accessibility & contrast

On white

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

On black

6.14
#AF76BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF76BC
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF76BC#FFFFFF#000000##000000
##AF76BC1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D87BF
Deuteranopia (green-blind)
#7B8DBA
Tritanopia (blue-blind)
#B07E90
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af76bc;
/* rgb */ color: rgb(175, 118, 188);
/* oklch */ color: oklch(65.0% 0.119 320.0);
Tailwind
colors: {
  custom: {
    50: '#c89ed0',
    500: '#af76bc',
    950: '#000000',
  },
}
SCSS
$custom: #af76bc;
$custom-light: #c89ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#af76bc",
  "rgb": {
    "r": 175,
    "g": 118,
    "b": 188
  },
  "hsl": {
    "h": 288.857,
    "s": 34.314,
    "l": 60
  },
  "oklch": {
    "l": 0.64961,
    "c": 0.11909,
    "h": 320
  },
  "luminance": 0.25702
}

Semantic roles & 50–950 ramp

primary
#AF76BC
secondary
#BED4B9
accent
#CA5D72
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AF76BC

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

Preview Lab → · Contrast checker → · Palette generator →

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