#AF86BF#AF86BF

#AF86BF is a light, moderate purple. Relative luminance 0.299; OKLCH L 67.9% C 0.094 H 316.3°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#AF86BF
RGBrgb(175, 134, 191)
HSLhsl(283, 31%, 64%)
HSVhsv(283, 30%, 75%)
CMYKcmyk(8.4%, 29.8%, 0%, 25.1%)
CIE-LABlab(61.59, 26.00, -23.73)
CIE-LCHlch(61.59, 35.20, 317.62°)
OKLaboklab(67.91% 0.0677 -0.0647)
OKLCHoklch(67.91% 0.094 316.3)
XYZxyz(35.6069, 29.9264, 53.1808)
Luminance0.2993 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF86BF #96BF86
analogous
#9286BF #AF86BF #BF86B2
triadic
#AF86BF #BFAF86 #86BFAF
tetradic
#AF86BF #BF9286 #96BF86 #86B2BF
square
#AF86BF #BF9286 #96BF86 #86B2BF
split-complementary
#AF86BF #B2BF86 #86BF92
monochromatic
#734685 #955EAA #AF86BF #C9AED4 #E4D6E9

Accessibility & contrast

On white

3.01
#AF86BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#AF86BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF86BF
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF86BF#FFFFFF#000000##000000
##AF86BF1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E92C1
Deuteranopia (green-blind)
#8796BD
Tritanopia (blue-blind)
#AF8D9A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af86bf;
/* rgb */ color: rgb(175, 134, 191);
/* oklch */ color: oklch(67.9% 0.094 316.3);
Tailwind
colors: {
  custom: {
    50: '#c7a9d2',
    500: '#af86bf',
    950: '#000000',
  },
}
SCSS
$custom: #af86bf;
$custom-light: #c7a9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af86bf",
  "rgb": {
    "r": 175,
    "g": 134,
    "b": 191
  },
  "hsl": {
    "h": 283.158,
    "s": 30.811,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67913,
    "c": 0.09369,
    "h": 316.3
  },
  "luminance": 0.29926
}

Semantic roles & 50–950 ramp

primary
#AF86BF
secondary
#CCDAC6
accent
#AA3C5B
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #AF86BF

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

Preview Lab → · Contrast checker → · Palette generator →

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