#AF89B2#AF89B2

#AF89B2 is a light, moderate purple. Relative luminance 0.302; OKLCH L 68.0% C 0.073 H 324.0°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#AF89B2
RGBrgb(175, 137, 178)
HSLhsl(296, 21%, 62%)
HSVhsv(296, 23%, 70%)
CMYKcmyk(1.7%, 23%, 0%, 30.2%)
CIE-LABlab(61.84, 21.68, -15.99)
CIE-LCHlch(61.84, 26.94, 323.60°)
OKLaboklab(67.95% 0.0592 -0.0431)
OKLCHoklch(67.95% 0.073 324)
XYZxyz(34.6598, 30.2204, 46.1182)
Luminance0.3022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89B2 #8CB289
analogous
#9B89B2 #AF89B2 #B289A1
triadic
#AF89B2 #B2AF89 #89B2AF
tetradic
#AF89B2 #B29B89 #8CB289 #89A1B2
square
#AF89B2 #B29B89 #8CB289 #89A1B2
split-complementary
#AF89B2 #A1B289 #89B29B
monochromatic
#724C75 #96649A #AF89B2 #C8AECA #E1D3E2

Accessibility & contrast

On white

2.98
#AF89B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#AF89B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89B2
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89B2#FFFFFF#000000##000000
##AF89B21.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8693B4
Deuteranopia (green-blind)
#8E97B1
Tritanopia (blue-blind)
#B18D97
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af89b2;
/* rgb */ color: rgb(175, 137, 178);
/* oklch */ color: oklch(68.0% 0.073 324.0);
Tailwind
colors: {
  custom: {
    50: '#c7abc9',
    500: '#af89b2',
    950: '#000000',
  },
}
SCSS
$custom: #af89b2;
$custom-light: #c7abc9;
$custom-dark: #000000;
JSON
{
  "hex": "#af89b2",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 178
  },
  "hsl": {
    "h": 295.61,
    "s": 21.026,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67951,
    "c": 0.07322,
    "h": 324
  },
  "luminance": 0.3022
}

Semantic roles & 50–950 ramp

primary
#AF89B2
secondary
#C5D3C4
accent
#9F464D
background
#FCFAFC
surface
#F8F4F8
border
#D1CED1
text
#131013
muted
#827F82

Preview Lab

Preview with #AF89B2

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

Preview Lab → · Contrast checker → · Palette generator →

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