#AF91BC#AF91BC

#AF91BC is a light, moderate purple. Relative luminance 0.330; OKLCH L 69.8% C 0.070 H 315.6°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#AF91BC
RGBrgb(175, 145, 188)
HSLhsl(282, 24%, 65%)
HSVhsv(282, 23%, 74%)
CMYKcmyk(6.9%, 22.9%, 0%, 26.3%)
CIE-LABlab(64.16, 19.18, -18.12)
CIE-LCHlch(64.16, 26.39, 316.63°)
OKLaboklab(69.85% 0.0501 -0.0491)
OKLCHoklch(69.85% 0.07 315.6)
XYZxyz(36.8803, 32.9961, 51.9932)
Luminance0.3300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF91BC #9EBC91
analogous
#9991BC #AF91BC #BC91B4
triadic
#AF91BC #BCAF91 #91BCAF
tetradic
#AF91BC #BC9991 #9EBC91 #91B4BC
square
#AF91BC #BC9991 #9EBC91 #91B4BC
split-complementary
#AF91BC #B4BC91 #91BC99
monochromatic
#735083 #936BA5 #AF91BC #CBB7D3 #E6DDEA

Accessibility & contrast

On white

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

On black

7.60
#AF91BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF91BC
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF91BC#FFFFFF#000000##000000
##AF91BC1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9ABE
Deuteranopia (green-blind)
#929CBB
Tritanopia (blue-blind)
#AF96A0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #af91bc;
/* rgb */ color: rgb(175, 145, 188);
/* oklch */ color: oklch(69.8% 0.070 315.6);
Tailwind
colors: {
  custom: {
    50: '#c7b1d0',
    500: '#af91bc',
    950: '#000000',
  },
}
SCSS
$custom: #af91bc;
$custom-light: #c7b1d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af91bc",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 188
  },
  "hsl": {
    "h": 281.86,
    "s": 24.294,
    "l": 65.294
  },
  "oklch": {
    "l": 0.69845,
    "c": 0.07012,
    "h": 315.6
  },
  "luminance": 0.32996
}

Semantic roles & 50–950 ramp

primary
#AF91BC
secondary
#D2DCCD
accent
#A34360
background
#FCFAFC
surface
#F8F5F9
border
#D1CFD2
text
#131014
muted
#827F82

Preview Lab

Preview with #AF91BC

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

Preview Lab → · Contrast checker → · Palette generator →

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