#AF4DB9#AF4DB9

#AF4DB9 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.7% C 0.184 H 323.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#AF4DB9
RGBrgb(175, 77, 185)
HSLhsl(294, 44%, 51%)
HSVhsv(294, 58%, 73%)
CMYKcmyk(5.4%, 58.4%, 0%, 27.5%)
CIE-LABlab(49.41, 55.03, -39.25)
CIE-LCHlch(49.41, 67.59, 324.50°)
OKLaboklab(58.71% 0.149 -0.1087)
OKLCHoklch(58.71% 0.184 323.9)
XYZxyz(29.0892, 17.9261, 47.8174)
Luminance0.1792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DB9 #57B94D
analogous
#794DB9 #AF4DB9 #B94D8D
triadic
#AF4DB9 #B9AF4D #4DB9AF
tetradic
#AF4DB9 #B9794D #57B94D #4D8DB9
square
#AF4DB9 #B9794D #57B94D #4D8DB9
split-complementary
#AF4DB9 #8DB94D #4DB979
monochromatic
#5F2764 #883990 #AF4DB9 #C379CA #D6A5DC

Accessibility & contrast

On white

4.58
#AF4DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#AF4DB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4DB9
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DB9#FFFFFF#000000##000000
##AF4DB91.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6EBC
Deuteranopia (green-blind)
#5E7AB6
Tritanopia (blue-blind)
#B25C7C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af4db9;
/* rgb */ color: rgb(175, 77, 185);
/* oklch */ color: oklch(58.7% 0.184 323.9);
Tailwind
colors: {
  custom: {
    50: '#ca84ce',
    500: '#af4db9',
    950: '#000000',
  },
}
SCSS
$custom: #af4db9;
$custom-light: #ca84ce;
$custom-dark: #000000;
JSON
{
  "hex": "#af4db9",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 185
  },
  "hsl": {
    "h": 294.444,
    "s": 43.548,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58714,
    "c": 0.18445,
    "h": 323.9
  },
  "luminance": 0.17924
}

Semantic roles & 50–950 ramp

primary
#AF4DB9
secondary
#9EC999
accent
#D35560
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF4DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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