#AF5ABE#AF5ABE

#AF5ABE is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.7% C 0.169 H 321.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AF5ABE
RGBrgb(175, 90, 190)
HSLhsl(291, 43%, 55%)
HSVhsv(291, 53%, 75%)
CMYKcmyk(7.9%, 52.6%, 0%, 25.5%)
CIE-LABlab(52.00, 49.69, -38.06)
CIE-LCHlch(52.00, 62.59, 322.55°)
OKLaboklab(60.7% 0.1322 -0.1054)
OKLCHoklch(60.7% 0.169 321.4)
XYZxyz(30.6286, 20.1453, 50.9803)
Luminance0.2014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5ABE #69BE5A
analogous
#7D5ABE #AF5ABE #BE5A9B
triadic
#AF5ABE #BEAF5A #5ABEAF
tetradic
#AF5ABE #BE7D5A #69BE5A #5A9BBE
square
#AF5ABE #BE7D5A #69BE5A #5A9BBE
split-complementary
#AF5ABE #9BBE5A #5ABE7D
monochromatic
#672D71 #8F3E9D #AF5ABE #C486CF #DAB2E1

Accessibility & contrast

On white

4.18
#AF5ABE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#AF5ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5ABE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5ABE#FFFFFF#000000##000000
##AF5ABE1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4976C1
Deuteranopia (green-blind)
#647FBB
Tritanopia (blue-blind)
#B16884
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #af5abe;
/* rgb */ color: rgb(175, 90, 190);
/* oklch */ color: oklch(60.7% 0.169 321.4);
Tailwind
colors: {
  custom: {
    50: '#c98cd2',
    500: '#af5abe',
    950: '#000000',
  },
}
SCSS
$custom: #af5abe;
$custom-light: #c98cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#af5abe",
  "rgb": {
    "r": 175,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 291,
    "s": 43.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60698,
    "c": 0.16908,
    "h": 321.4
  },
  "luminance": 0.20144
}

Semantic roles & 50–950 ramp

primary
#AF5ABE
secondary
#ABCFA5
accent
#D35568
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AF5ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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