#AF96BB#AF96BB

#AF96BB is a light, muted purple. Relative luminance 0.345; OKLCH L 70.8% C 0.060 H 314.8°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#AF96BB
RGBrgb(175, 150, 187)
HSLhsl(281, 21%, 66%)
HSVhsv(281, 20%, 73%)
CMYKcmyk(6.4%, 19.8%, 0%, 26.7%)
CIE-LABlab(65.37, 16.17, -15.73)
CIE-LCHlch(65.37, 22.55, 315.79°)
OKLaboklab(70.77% 0.0421 -0.0425)
OKLCHoklch(70.77% 0.06 314.8)
XYZxyz(37.5538, 34.5149, 51.6878)
Luminance0.3452 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF96BB #A2BB96
analogous
#9C96BB #AF96BB #BB96B4
triadic
#AF96BB #BBAF96 #96BBAF
tetradic
#AF96BB #BB9C96 #A2BB96 #96B4BB
square
#AF96BB #BB9C96 #A2BB96 #96B4BB
split-complementary
#AF96BB #B4BB96 #96BB9C
monochromatic
#735482 #9371A3 #AF96BB #CBBBD3 #E8E0EB

Accessibility & contrast

On white

2.66
#AF96BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#AF96BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF96BB
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF96BB#FFFFFF#000000##000000
##AF96BB1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#919DBD
Deuteranopia (green-blind)
#969FBA
Tritanopia (blue-blind)
#AF9AA3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #af96bb;
/* rgb */ color: rgb(175, 150, 187);
/* oklch */ color: oklch(70.8% 0.060 314.8);
Tailwind
colors: {
  custom: {
    50: '#c7b5cf',
    500: '#af96bb',
    950: '#000000',
  },
}
SCSS
$custom: #af96bb;
$custom-light: #c7b5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#af96bb",
  "rgb": {
    "r": 175,
    "g": 150,
    "b": 187
  },
  "hsl": {
    "h": 280.541,
    "s": 21.387,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70768,
    "c": 0.05982,
    "h": 314.8
  },
  "luminance": 0.34515
}

Semantic roles & 50–950 ramp

primary
#AF96BB
secondary
#D4DCD0
accent
#A04663
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131113
muted
#828082

Preview Lab

Preview with #AF96BB

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

Preview Lab → · Contrast checker → · Palette generator →

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