#AF76BF#AF76BF

#AF76BF is a light, vivid purple. Relative luminance 0.258; OKLCH L 65.1% C 0.122 H 318.7°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AF76BF
RGBrgb(175, 118, 191)
HSLhsl(287, 36%, 61%)
HSVhsv(287, 38%, 75%)
CMYKcmyk(8.4%, 38.2%, 0%, 25.1%)
CIE-LABlab(57.88, 34.96, -29.45)
CIE-LCHlch(57.88, 45.71, 319.89°)
OKLaboklab(65.1% 0.0919 -0.0809)
OKLCHoklch(65.1% 0.122 318.7)
XYZxyz(33.5603, 25.8334, 52.4986)
Luminance0.2583 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF76BF #86BF76
analogous
#8A76BF #AF76BF #BF76AA
triadic
#AF76BF #BFAF76 #76BFAF
tetradic
#AF76BF #BF8A76 #86BF76 #76AABF
square
#AF76BF #BF8A76 #86BF76 #76AABF
split-complementary
#AF76BF #AABF76 #76BF8A
monochromatic
#703B7F #954FA9 #AF76BF #C7A0D2 #E0C9E6

Accessibility & contrast

On white

3.41
#AF76BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#AF76BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF76BF
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF76BF#FFFFFF#000000##000000
##AF76BF1.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C87C2
Deuteranopia (green-blind)
#7A8DBD
Tritanopia (blue-blind)
#AF7F92
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af76bf;
/* rgb */ color: rgb(175, 118, 191);
/* oklch */ color: oklch(65.1% 0.122 318.7);
Tailwind
colors: {
  custom: {
    50: '#c89ed2',
    500: '#af76bf',
    950: '#000000',
  },
}
SCSS
$custom: #af76bf;
$custom-light: #c89ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#af76bf",
  "rgb": {
    "r": 175,
    "g": 118,
    "b": 191
  },
  "hsl": {
    "h": 286.849,
    "s": 36.318,
    "l": 60.588
  },
  "oklch": {
    "l": 0.65096,
    "c": 0.12242,
    "h": 318.7
  },
  "luminance": 0.25832
}

Semantic roles & 50–950 ramp

primary
#AF76BF
secondary
#C1D6BB
accent
#AF3651
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AF76BF

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

Preview Lab → · Contrast checker → · Palette generator →

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