#AF3AB9#AF3AB9

#AF3AB9 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.6% C 0.210 H 324.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AF3AB9
RGBrgb(175, 58, 185)
HSLhsl(295, 52%, 48%)
HSVhsv(295, 69%, 73%)
CMYKcmyk(5.4%, 68.6%, 0%, 27.5%)
CIE-LABlab(46.50, 63.07, -43.85)
CIE-LCHlch(46.50, 76.82, 325.19°)
OKLaboklab(56.61% 0.1712 -0.122)
OKLCHoklch(56.61% 0.21 324.5)
XYZxyz(27.9485, 15.6446, 47.4371)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3AB9 #44B93A
analogous
#703AB9 #AF3AB9 #B93A83
triadic
#AF3AB9 #B9AF3A #3AB9AF
tetradic
#AF3AB9 #B9703A #44B93A #3A83B9
square
#AF3AB9 #B9703A #44B93A #3A83B9
split-complementary
#AF3AB9 #83B93A #3AB970
monochromatic
#571D5C #832B8A #AF3AB9 #C562CE #D791DC

Accessibility & contrast

On white

5.09
#AF3AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AF3AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3AB9
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3AB9#FFFFFF#000000##FFFFFF
##AF3AB91.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A65BD
Deuteranopia (green-blind)
#5173B6
Tritanopia (blue-blind)
#B34F75
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af3ab9;
/* rgb */ color: rgb(175, 58, 185);
/* oklch */ color: oklch(56.6% 0.210 324.5);
Tailwind
colors: {
  custom: {
    50: '#ca7ace',
    500: '#af3ab9',
    950: '#000000',
  },
}
SCSS
$custom: #af3ab9;
$custom-light: #ca7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ab9",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 295.276,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56614,
    "c": 0.21017,
    "h": 324.5
  },
  "luminance": 0.15643
}

Semantic roles & 50–950 ramp

primary
#AF3AB9
secondary
#8CC787
accent
#DC4C57
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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