#AF89BA#AF89BA

#AF89BA is a light, moderate purple. Relative luminance 0.305; OKLCH L 68.3% C 0.082 H 318.5°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#AF89BA
RGBrgb(175, 137, 186)
HSLhsl(287, 26%, 63%)
HSVhsv(287, 26%, 73%)
CMYKcmyk(5.9%, 26.3%, 0%, 27.1%)
CIE-LABlab(62.13, 23.28, -20.08)
CIE-LCHlch(62.13, 30.75, 319.22°)
OKLaboklab(68.26% 0.0617 -0.0545)
OKLCHoklch(68.26% 0.082 318.5)
XYZxyz(35.4865, 30.5512, 50.4724)
Luminance0.3055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89BA #94BA89
analogous
#9689BA #AF89BA #BA89AC
triadic
#AF89BA #BAAF89 #89BAAF
tetradic
#AF89BA #BA9689 #94BA89 #89ACBA
square
#AF89BA #BA9689 #94BA89 #89ACBA
split-complementary
#AF89BA #ACBA89 #89BA96
monochromatic
#734A7F #9562A3 #AF89BA #C9B0D1 #E3D6E7

Accessibility & contrast

On white

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

On black

7.11
#AF89BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89BA
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89BA#FFFFFF#000000##000000
##AF89BA1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8394BC
Deuteranopia (green-blind)
#8C97B8
Tritanopia (blue-blind)
#AF8E9A
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af89ba;
/* rgb */ color: rgb(175, 137, 186);
/* oklch */ color: oklch(68.3% 0.082 318.5);
Tailwind
colors: {
  custom: {
    50: '#c7abce',
    500: '#af89ba',
    950: '#000000',
  },
}
SCSS
$custom: #af89ba;
$custom-light: #c7abce;
$custom-dark: #000000;
JSON
{
  "hex": "#af89ba",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 186
  },
  "hsl": {
    "h": 286.531,
    "s": 26.203,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68262,
    "c": 0.08232,
    "h": 318.5
  },
  "luminance": 0.3055
}

Semantic roles & 50–950 ramp

primary
#AF89BA
secondary
#CBD8C7
accent
#A54157
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131013
muted
#827F82

Preview Lab

Preview with #AF89BA

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

Preview Lab → · Contrast checker → · Palette generator →

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