#AF89C2#AF89C2

#AF89C2 is a light, moderate purple. Relative luminance 0.309; OKLCH L 68.6% C 0.092 H 314.2°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#AF89C2
RGBrgb(175, 137, 194)
HSLhsl(280, 32%, 65%)
HSVhsv(280, 29%, 76%)
CMYKcmyk(9.8%, 29.4%, 0%, 23.9%)
CIE-LABlab(62.42, 24.93, -24.14)
CIE-LCHlch(62.42, 34.71, 315.92°)
OKLaboklab(68.59% 0.064 -0.0659)
OKLCHoklch(68.59% 0.092 314.2)
XYZxyz(36.3609, 30.9009, 55.0775)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89C2 #9CC289
analogous
#9289C2 #AF89C2 #C289B9
triadic
#AF89C2 #C2AF89 #89C2AF
tetradic
#AF89C2 #C29289 #9CC289 #89B9C2
square
#AF89C2 #C29289 #9CC289 #89B9C2
split-complementary
#AF89C2 #B9C289 #89C292
monochromatic
#73478A #9461AD #AF89C2 #CAB1D7 #E6DAEC

Accessibility & contrast

On white

2.92
#AF89C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#AF89C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89C2
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89C2#FFFFFF#000000##000000
##AF89C21.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8195C4
Deuteranopia (green-blind)
#8998C0
Tritanopia (blue-blind)
#AE909D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af89c2;
/* rgb */ color: rgb(175, 137, 194);
/* oklch */ color: oklch(68.6% 0.092 314.2);
Tailwind
colors: {
  custom: {
    50: '#c7abd4',
    500: '#af89c2',
    950: '#000000',
  },
}
SCSS
$custom: #af89c2;
$custom-light: #c7abd4;
$custom-dark: #000000;
JSON
{
  "hex": "#af89c2",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 194
  },
  "hsl": {
    "h": 280,
    "s": 31.844,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68587,
    "c": 0.0919,
    "h": 314.2
  },
  "luminance": 0.309
}

Semantic roles & 50–950 ramp

primary
#AF89C2
secondary
#D0DDCA
accent
#AB3B60
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131014
muted
#827F83

Preview Lab

Preview with #AF89C2

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

Preview Lab → · Contrast checker → · Palette generator →

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