#AF9BB2#AF9BB2

#AF9BB2 is a light, muted purple. Relative luminance 0.358; OKLCH L 71.4% C 0.040 H 321.8°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#AF9BB2
RGBrgb(175, 155, 178)
HSLhsl(292, 13%, 65%)
HSVhsv(292, 13%, 70%)
CMYKcmyk(1.7%, 12.9%, 0%, 30.2%)
CIE-LABlab(66.34, 11.57, -9.22)
CIE-LCHlch(66.34, 14.80, 321.45°)
OKLaboklab(71.43% 0.0314 -0.0246)
OKLCHoklch(71.43% 0.04 321.8)
XYZxyz(37.4353, 35.7714, 47.0433)
Luminance0.3577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9BB2 #9EB29B
analogous
#A39BB2 #AF9BB2 #B29BA9
triadic
#AF9BB2 #B2AF9B #9BB2AF
tetradic
#AF9BB2 #B2A39B #9EB29B #9BA9B2
square
#AF9BB2 #B2A39B #9EB29B #9BA9B2
split-complementary
#AF9BB2 #A9B29B #9BB2A3
monochromatic
#735C77 #937897 #AF9BB2 #CBBECD #E6E0E7

Accessibility & contrast

On white

2.58
#AF9BB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#AF9BB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9BB2
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9BB2#FFFFFF#000000##000000
##AF9BB21.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A0B3
Deuteranopia (green-blind)
#9DA2B1
Tritanopia (blue-blind)
#B09DA3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #af9bb2;
/* rgb */ color: rgb(175, 155, 178);
/* oklch */ color: oklch(71.4% 0.040 321.8);
Tailwind
colors: {
  custom: {
    50: '#c7b8c9',
    500: '#af9bb2',
    950: '#000000',
  },
}
SCSS
$custom: #af9bb2;
$custom-light: #c7b8c9;
$custom-dark: #000000;
JSON
{
  "hex": "#af9bb2",
  "rgb": {
    "r": 175,
    "g": 155,
    "b": 178
  },
  "hsl": {
    "h": 292.174,
    "s": 12.994,
    "l": 65.294
  },
  "oklch": {
    "l": 0.71428,
    "c": 0.03988,
    "h": 321.8
  },
  "luminance": 0.35771
}

Semantic roles & 50–950 ramp

primary
#AF9BB2
secondary
#D2D8D1
accent
#974E58
background
#FCFBFC
surface
#F8F6F8
border
#D1D0D1
text
#131113
muted
#828082

Preview Lab

Preview with #AF9BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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