#AF89BC#AF89BC

#AF89BC is a light, moderate purple. Relative luminance 0.306; OKLCH L 68.3% C 0.085 H 317.4°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#AF89BC
RGBrgb(175, 137, 188)
HSLhsl(285, 28%, 64%)
HSVhsv(285, 27%, 74%)
CMYKcmyk(6.9%, 27.1%, 0%, 26.3%)
CIE-LABlab(62.20, 23.69, -21.10)
CIE-LCHlch(62.20, 31.73, 318.31°)
OKLaboklab(68.34% 0.0623 -0.0574)
OKLCHoklch(68.34% 0.085 317.4)
XYZxyz(35.7006, 30.6368, 51.6000)
Luminance0.3064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89BC #96BC89
analogous
#9589BC #AF89BC #BC89AF
triadic
#AF89BC #BCAF89 #89BCAF
tetradic
#AF89BC #BC9589 #96BC89 #89AFBC
square
#AF89BC #BC9589 #96BC89 #89AFBC
split-complementary
#AF89BC #AFBC89 #89BC95
monochromatic
#734981 #9562A6 #AF89BC #C9B0D2 #E4D7E8

Accessibility & contrast

On white

2.95
#AF89BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#AF89BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89BC
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89BC#FFFFFF#000000##000000
##AF89BC1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8394BE
Deuteranopia (green-blind)
#8B98BA
Tritanopia (blue-blind)
#AF8F9B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af89bc;
/* rgb */ color: rgb(175, 137, 188);
/* oklch */ color: oklch(68.3% 0.085 317.4);
Tailwind
colors: {
  custom: {
    50: '#c7abd0',
    500: '#af89bc',
    950: '#000000',
  },
}
SCSS
$custom: #af89bc;
$custom-light: #c7abd0;
$custom-dark: #000000;
JSON
{
  "hex": "#af89bc",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 188
  },
  "hsl": {
    "h": 284.706,
    "s": 27.568,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68342,
    "c": 0.08468,
    "h": 317.4
  },
  "luminance": 0.30636
}

Semantic roles & 50–950 ramp

primary
#AF89BC
secondary
#CCD9C7
accent
#A63F5A
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #AF89BC

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

Preview Lab → · Contrast checker → · Palette generator →

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