#AF89BF#AF89BF

#AF89BF is a light, moderate purple. Relative luminance 0.308; OKLCH L 68.5% C 0.088 H 315.7°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#AF89BF
RGBrgb(175, 137, 191)
HSLhsl(282, 30%, 64%)
HSVhsv(282, 28%, 75%)
CMYKcmyk(8.4%, 28.3%, 0%, 25.1%)
CIE-LABlab(62.31, 24.31, -22.62)
CIE-LCHlch(62.31, 33.21, 317.05°)
OKLaboklab(68.46% 0.0632 -0.0616)
OKLCHoklch(68.46% 0.088 315.7)
XYZxyz(36.0274, 30.7675, 53.3209)
Luminance0.3077 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89BF #99BF89
analogous
#9489BF #AF89BF #BF89B4
triadic
#AF89BF #BFAF89 #89BFAF
tetradic
#AF89BF #BF9489 #99BF89 #89B4BF
square
#AF89BF #BF9489 #99BF89 #89B4BF
split-complementary
#AF89BF #B4BF89 #89BF94
monochromatic
#734885 #9461A9 #AF89BF #CAB1D5 #E5D8EA

Accessibility & contrast

On white

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

On black

7.15
#AF89BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89BF
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89BF#FFFFFF#000000##000000
##AF89BF1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8294C1
Deuteranopia (green-blind)
#8A98BD
Tritanopia (blue-blind)
#AE8F9C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af89bf;
/* rgb */ color: rgb(175, 137, 191);
/* oklch */ color: oklch(68.5% 0.088 315.7);
Tailwind
colors: {
  custom: {
    50: '#c7abd2',
    500: '#af89bf',
    950: '#000000',
  },
}
SCSS
$custom: #af89bf;
$custom-light: #c7abd2;
$custom-dark: #000000;
JSON
{
  "hex": "#af89bf",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 191
  },
  "hsl": {
    "h": 282.222,
    "s": 29.67,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68463,
    "c": 0.08827,
    "h": 315.7
  },
  "luminance": 0.30767
}

Semantic roles & 50–950 ramp

primary
#AF89BF
secondary
#CEDBC9
accent
#A83D5D
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #AF89BF

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

Preview Lab → · Contrast checker → · Palette generator →

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