#AF76BB#AF76BB

#AF76BB is a light, moderate purple. Relative luminance 0.257; OKLCH L 64.9% C 0.118 H 320.5°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AF76BB
RGBrgb(175, 118, 187)
HSLhsl(290, 34%, 60%)
HSVhsv(290, 37%, 73%)
CMYKcmyk(6.4%, 36.9%, 0%, 26.7%)
CIE-LABlab(57.71, 34.14, -27.43)
CIE-LCHlch(57.71, 43.79, 321.22°)
OKLaboklab(64.92% 0.091 -0.0751)
OKLCHoklch(64.92% 0.118 320.5)
XYZxyz(33.1261, 25.6597, 50.2119)
Luminance0.2566 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF76BB #82BB76
analogous
#8C76BB #AF76BB #BB76A5
triadic
#AF76BB #BBAF76 #76BBAF
tetradic
#AF76BB #BB8C76 #82BB76 #76A5BB
square
#AF76BB #BB8C76 #82BB76 #76A5BB
split-complementary
#AF76BB #A5BB76 #76BB8C
monochromatic
#6F3D7A #9551A3 #AF76BB #C79FCF #DFC8E4

Accessibility & contrast

On white

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

On black

6.13
#AF76BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF76BB
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF76BB#FFFFFF#000000##000000
##AF76BB1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af76bb;
/* rgb */ color: rgb(175, 118, 187);
/* oklch */ color: oklch(64.9% 0.118 320.5);
Tailwind
colors: {
  custom: {
    50: '#c89ecf',
    500: '#af76bb',
    950: '#000000',
  },
}
SCSS
$custom: #af76bb;
$custom-light: #c89ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#af76bb",
  "rgb": {
    "r": 175,
    "g": 118,
    "b": 187
  },
  "hsl": {
    "h": 289.565,
    "s": 33.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64916,
    "c": 0.11797,
    "h": 320.5
  },
  "luminance": 0.25659
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF76BB

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

Preview Lab → · Contrast checker → · Palette generator →

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