#AF86BC#AF86BC

#AF86BC is a light, moderate purple. Relative luminance 0.298; OKLCH L 67.8% C 0.090 H 317.9°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#AF86BC
RGBrgb(175, 134, 188)
HSLhsl(286, 29%, 63%)
HSVhsv(286, 29%, 74%)
CMYKcmyk(6.9%, 28.7%, 0%, 26.3%)
CIE-LABlab(61.48, 25.38, -22.21)
CIE-LCHlch(61.48, 33.72, 318.82°)
OKLaboklab(67.79% 0.0669 -0.0604)
OKLCHoklch(67.79% 0.09 317.9)
XYZxyz(35.2801, 29.7957, 51.4598)
Luminance0.2979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF86BC #93BC86
analogous
#9486BC #AF86BC #BC86AE
triadic
#AF86BC #BCAF86 #86BCAF
tetradic
#AF86BC #BC9486 #93BC86 #86AEBC
square
#AF86BC #BC9486 #93BC86 #86AEBC
split-complementary
#AF86BC #AEBC86 #86BC94
monochromatic
#734780 #955FA6 #AF86BC #C9ADD2 #E3D5E8

Accessibility & contrast

On white

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

On black

6.96
#AF86BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF86BC
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF86BC#FFFFFF#000000##000000
##AF86BC1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F92BE
Deuteranopia (green-blind)
#8896BA
Tritanopia (blue-blind)
#AF8C99
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af86bc;
/* rgb */ color: rgb(175, 134, 188);
/* oklch */ color: oklch(67.8% 0.090 317.9);
Tailwind
colors: {
  custom: {
    50: '#c7a9d0',
    500: '#af86bc',
    950: '#000000',
  },
}
SCSS
$custom: #af86bc;
$custom-light: #c7a9d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af86bc",
  "rgb": {
    "r": 175,
    "g": 134,
    "b": 188
  },
  "hsl": {
    "h": 285.556,
    "s": 28.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.67789,
    "c": 0.09014,
    "h": 317.9
  },
  "luminance": 0.29795
}

Semantic roles & 50–950 ramp

primary
#AF86BC
secondary
#CAD9C5
accent
#A73E57
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #AF86BC

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

Preview Lab → · Contrast checker → · Palette generator →

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