#AF86BB#AF86BB

#AF86BB is a light, moderate purple. Relative luminance 0.298; OKLCH L 67.7% C 0.089 H 318.5°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#AF86BB
RGBrgb(175, 134, 187)
HSLhsl(286, 28%, 63%)
HSVhsv(286, 28%, 73%)
CMYKcmyk(6.4%, 28.3%, 0%, 26.7%)
CIE-LABlab(61.44, 25.18, -21.70)
CIE-LCHlch(61.44, 33.24, 319.25°)
OKLaboklab(67.75% 0.0666 -0.059)
OKLCHoklch(67.75% 0.089 318.5)
XYZxyz(35.1727, 29.7528, 50.8941)
Luminance0.2975 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF86BB #92BB86
analogous
#9486BB #AF86BB #BB86AC
triadic
#AF86BB #BBAF86 #86BBAF
tetradic
#AF86BB #BB9486 #92BB86 #86ACBB
square
#AF86BB #BB9486 #92BB86 #86ACBB
split-complementary
#AF86BB #ACBB86 #86BB94
monochromatic
#73477F #955FA5 #AF86BB #C9ADD1 #E3D4E7

Accessibility & contrast

On white

3.02
#AF86BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#AF86BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF86BB
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF86BB#FFFFFF#000000##000000
##AF86BB1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8092BD
Deuteranopia (green-blind)
#8996B9
Tritanopia (blue-blind)
#AF8C99
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af86bb;
/* rgb */ color: rgb(175, 134, 187);
/* oklch */ color: oklch(67.7% 0.089 318.5);
Tailwind
colors: {
  custom: {
    50: '#c7a9cf',
    500: '#af86bb',
    950: '#000000',
  },
}
SCSS
$custom: #af86bb;
$custom-light: #c7a9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#af86bb",
  "rgb": {
    "r": 175,
    "g": 134,
    "b": 187
  },
  "hsl": {
    "h": 286.415,
    "s": 28.042,
    "l": 62.941
  },
  "oklch": {
    "l": 0.67748,
    "c": 0.08897,
    "h": 318.5
  },
  "luminance": 0.29752
}

Semantic roles & 50–950 ramp

primary
#AF86BB
secondary
#C9D8C5
accent
#A73F56
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #AF86BB

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

Preview Lab → · Contrast checker → · Palette generator →

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