#AF8ABE#AF8ABE

#AF8ABE is a light, moderate purple. Relative luminance 0.310; OKLCH L 68.6% C 0.085 H 316.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#AF8ABE
RGBrgb(175, 138, 190)
HSLhsl(283, 29%, 64%)
HSVhsv(283, 27%, 75%)
CMYKcmyk(7.9%, 27.4%, 0%, 25.5%)
CIE-LABlab(62.52, 23.54, -21.75)
CIE-LCHlch(62.52, 32.05, 317.26°)
OKLaboklab(68.61% 0.0614 -0.0592)
OKLCHoklch(68.61% 0.085 316)
XYZxyz(36.0605, 31.0092, 52.7910)
Luminance0.3101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8ABE #99BE8A
analogous
#958ABE #AF8ABE #BE8AB3
triadic
#AF8ABE #BEAF8A #8ABEAF
tetradic
#AF8ABE #BE958A #99BE8A #8AB3BE
square
#AF8ABE #BE958A #99BE8A #8AB3BE
split-complementary
#AF8ABE #B3BE8A #8ABE95
monochromatic
#734984 #9463A8 #AF8ABE #CAB1D4 #E5D9EA

Accessibility & contrast

On white

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

On black

7.20
#AF8ABE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8ABE
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8ABE#FFFFFF#000000##000000
##AF8ABE1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8395C0
Deuteranopia (green-blind)
#8B98BC
Tritanopia (blue-blind)
#AF909C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af8abe;
/* rgb */ color: rgb(175, 138, 190);
/* oklch */ color: oklch(68.6% 0.085 316.0);
Tailwind
colors: {
  custom: {
    50: '#c7acd1',
    500: '#af8abe',
    950: '#000000',
  },
}
SCSS
$custom: #af8abe;
$custom-light: #c7acd1;
$custom-dark: #000000;
JSON
{
  "hex": "#af8abe",
  "rgb": {
    "r": 175,
    "g": 138,
    "b": 190
  },
  "hsl": {
    "h": 282.692,
    "s": 28.571,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68608,
    "c": 0.08526,
    "h": 316
  },
  "luminance": 0.31009
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF8ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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