#AF89BD#AF89BD

#AF89BD is a light, moderate purple. Relative luminance 0.307; OKLCH L 68.4% C 0.086 H 316.8°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#AF89BD
RGBrgb(175, 137, 189)
HSLhsl(284, 28%, 64%)
HSVhsv(284, 28%, 74%)
CMYKcmyk(7.4%, 27.5%, 0%, 25.9%)
CIE-LABlab(62.24, 23.89, -21.61)
CIE-LCHlch(62.24, 32.22, 317.87°)
OKLaboklab(68.38% 0.0626 -0.0588)
OKLCHoklch(68.38% 0.086 316.8)
XYZxyz(35.8088, 30.6801, 52.1697)
Luminance0.3068 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89BD #97BD89
analogous
#9589BD #AF89BD #BD89B1
triadic
#AF89BD #BDAF89 #89BDAF
tetradic
#AF89BD #BD9589 #97BD89 #89B1BD
square
#AF89BD #BD9589 #97BD89 #89B1BD
split-complementary
#AF89BD #B1BD89 #89BD95
monochromatic
#734983 #9462A7 #AF89BD #CAB0D3 #E4D7E9

Accessibility & contrast

On white

2.94
#AF89BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#AF89BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89BD
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89BD#FFFFFF#000000##000000
##AF89BD1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8294BF
Deuteranopia (green-blind)
#8B98BB
Tritanopia (blue-blind)
#AF8F9B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af89bd;
/* rgb */ color: rgb(175, 137, 189);
/* oklch */ color: oklch(68.4% 0.086 316.8);
Tailwind
colors: {
  custom: {
    50: '#c7abd1',
    500: '#af89bd',
    950: '#000000',
  },
}
SCSS
$custom: #af89bd;
$custom-light: #c7abd1;
$custom-dark: #000000;
JSON
{
  "hex": "#af89bd",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 189
  },
  "hsl": {
    "h": 283.846,
    "s": 28.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68382,
    "c": 0.08587,
    "h": 316.8
  },
  "luminance": 0.30679
}

Semantic roles & 50–950 ramp

primary
#AF89BD
secondary
#CDDAC8
accent
#A73F5B
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #AF89BD

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

Preview Lab → · Contrast checker → · Palette generator →

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