#AF89BE#AF89BE

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

Color values

HEX#AF89BE
RGBrgb(175, 137, 190)
HSLhsl(283, 29%, 64%)
HSVhsv(283, 28%, 75%)
CMYKcmyk(7.9%, 27.9%, 0%, 25.5%)
CIE-LABlab(62.27, 24.10, -22.12)
CIE-LCHlch(62.27, 32.71, 317.46°)
OKLaboklab(68.42% 0.0629 -0.0602)
OKLCHoklch(68.42% 0.087 316.2)
XYZxyz(35.9177, 30.7236, 52.7433)
Luminance0.3072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89BE #98BE89
analogous
#9589BE #AF89BE #BE89B3
triadic
#AF89BE #BEAF89 #89BEAF
tetradic
#AF89BE #BE9589 #98BE89 #89B3BE
square
#AF89BE #BE9589 #98BE89 #89B3BE
split-complementary
#AF89BE #B3BE89 #89BE95
monochromatic
#734984 #9462A8 #AF89BE #CAB0D4 #E5D8E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF89BE#FFFFFF#000000##000000
##AF89BE1.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)
#8294C0
Deuteranopia (green-blind)
#8A98BC
Tritanopia (blue-blind)
#AF8F9C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af89be;
/* rgb */ color: rgb(175, 137, 190);
/* oklch */ color: oklch(68.4% 0.087 316.2);
Tailwind
colors: {
  custom: {
    50: '#c7abd1',
    500: '#af89be',
    950: '#000000',
  },
}
SCSS
$custom: #af89be;
$custom-light: #c7abd1;
$custom-dark: #000000;
JSON
{
  "hex": "#af89be",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 190
  },
  "hsl": {
    "h": 283.019,
    "s": 28.962,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68423,
    "c": 0.08707,
    "h": 316.2
  },
  "luminance": 0.30723
}

Semantic roles & 50–950 ramp

primary
#AF89BE
secondary
#CDDBC8
accent
#A83E5C
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #AF89BE

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

Preview Lab → · Contrast checker → · Palette generator →

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