#AF91BD#AF91BD

#AF91BD is a light, moderate purple. Relative luminance 0.330; OKLCH L 69.9% C 0.071 H 314.9°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#AF91BD
RGBrgb(175, 145, 189)
HSLhsl(281, 25%, 65%)
HSVhsv(281, 23%, 74%)
CMYKcmyk(7.4%, 23.3%, 0%, 25.9%)
CIE-LABlab(64.19, 19.39, -18.63)
CIE-LCHlch(64.19, 26.89, 316.14°)
OKLaboklab(69.88% 0.0504 -0.0505)
OKLCHoklch(69.88% 0.071 314.9)
XYZxyz(36.9885, 33.0394, 52.5629)
Luminance0.3304 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF91BD #9FBD91
analogous
#9991BD #AF91BD #BD91B5
triadic
#AF91BD #BDAF91 #91BDAF
tetradic
#AF91BD #BD9991 #9FBD91 #91B5BD
square
#AF91BD #BD9991 #9FBD91 #91B5BD
split-complementary
#AF91BD #B5BD91 #91BD99
monochromatic
#734F84 #936BA6 #AF91BD #CBB7D4 #E7DDEB

Accessibility & contrast

On white

2.76
#AF91BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#AF91BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF91BD
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF91BD#FFFFFF#000000##000000
##AF91BD1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9ABF
Deuteranopia (green-blind)
#919CBC
Tritanopia (blue-blind)
#AE96A0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af91bd;
/* rgb */ color: rgb(175, 145, 189);
/* oklch */ color: oklch(69.9% 0.071 314.9);
Tailwind
colors: {
  custom: {
    50: '#c7b1d1',
    500: '#af91bd',
    950: '#000000',
  },
}
SCSS
$custom: #af91bd;
$custom-light: #c7b1d1;
$custom-dark: #000000;
JSON
{
  "hex": "#af91bd",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 189
  },
  "hsl": {
    "h": 280.909,
    "s": 25,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69884,
    "c": 0.07135,
    "h": 314.9
  },
  "luminance": 0.33039
}

Semantic roles & 50–950 ramp

primary
#AF91BD
secondary
#D2DCCE
accent
#A44261
background
#FCFAFC
surface
#F8F5F9
border
#D1CFD2
text
#131014
muted
#827F82

Preview Lab

Preview with #AF91BD

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

Preview Lab → · Contrast checker → · Palette generator →

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