#AF49D5#AF49D5

#AF49D5 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 59.9% C 0.216 H 315.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AF49D5
RGBrgb(175, 73, 213)
HSLhsl(284, 63%, 56%)
HSVhsv(284, 66%, 84%)
CMYKcmyk(17.8%, 65.7%, 0%, 16.5%)
CIE-LABlab(50.32, 62.25, -53.94)
CIE-LCHlch(50.32, 82.36, 319.09°)
OKLaboklab(59.88% 0.1542 -0.1515)
OKLCHoklch(59.88% 0.216 315.5)
XYZxyz(32.0701, 18.6843, 64.8550)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49D5 #6FD549
analogous
#6949D5 #AF49D5 #D549B5
triadic
#AF49D5 #D5AF49 #49D5AF
tetradic
#AF49D5 #D56949 #6FD549 #49B5D5
square
#AF49D5 #D56949 #6FD549 #49B5D5
split-complementary
#AF49D5 #B5D549 #49D569
monochromatic
#691F85 #912AB7 #AF49D5 #C57BE0 #DBACEC

Accessibility & contrast

On white

4.43
#AF49D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#AF49D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF49D5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49D5#FFFFFF#000000##000000
##AF49D51.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072D9
Deuteranopia (green-blind)
#477BD2
Tritanopia (blue-blind)
#AC6489
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af49d5;
/* rgb */ color: rgb(175, 73, 213);
/* oklch */ color: oklch(59.9% 0.216 315.5);
Tailwind
colors: {
  custom: {
    50: '#cb83e3',
    500: '#af49d5',
    950: '#000000',
  },
}
SCSS
$custom: #af49d5;
$custom-light: #cb83e3;
$custom-dark: #000000;
JSON
{
  "hex": "#af49d5",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 213
  },
  "hsl": {
    "h": 283.714,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59877,
    "c": 0.21616,
    "h": 315.5
  },
  "luminance": 0.18683
}

Semantic roles & 50–950 ramp

primary
#AF49D5
secondary
#B0DAA0
accent
#E6426F
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF49D5

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

Preview Lab → · Contrast checker → · Palette generator →

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