#AF49C8#AF49C8

#AF49C8 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.1% C 0.204 H 319.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AF49C8
RGBrgb(175, 73, 200)
HSLhsl(288, 54%, 54%)
HSVhsv(288, 64%, 78%)
CMYKcmyk(12.5%, 63.5%, 0%, 21.6%)
CIE-LABlab(49.56, 59.69, -47.70)
CIE-LCHlch(49.56, 76.40, 321.37°)
OKLaboklab(59.09% 0.1544 -0.1333)
OKLCHoklch(59.09% 0.204 319.2)
XYZxyz(30.4857, 18.0505, 56.5107)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49C8 #62C849
analogous
#6F49C8 #AF49C8 #C849A1
triadic
#AF49C8 #C8AF49 #49C8AF
tetradic
#AF49C8 #C86F49 #62C849 #49A1C8
square
#AF49C8 #C86F49 #62C849 #49A1C8
split-complementary
#AF49C8 #A1C849 #49C86F
monochromatic
#642374 #8C31A3 #AF49C8 #C478D6 #D8A7E4

Accessibility & contrast

On white

4.56
#AF49C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#AF49C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF49C8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49C8#FFFFFF#000000##000000
##AF49C81.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#236FCC
Deuteranopia (green-blind)
#5179C5
Tritanopia (blue-blind)
#AF5F82
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af49c8;
/* rgb */ color: rgb(175, 73, 200);
/* oklch */ color: oklch(59.1% 0.204 319.2);
Tailwind
colors: {
  custom: {
    50: '#ca82d9',
    500: '#af49c8',
    950: '#000000',
  },
}
SCSS
$custom: #af49c8;
$custom-light: #ca82d9;
$custom-dark: #000000;
JSON
{
  "hex": "#af49c8",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 200
  },
  "hsl": {
    "h": 288.189,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59086,
    "c": 0.204,
    "h": 319.2
  },
  "luminance": 0.18049
}

Semantic roles & 50–950 ramp

primary
#AF49C8
secondary
#A6D29B
accent
#DD4B68
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF49C8

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

Preview Lab → · Contrast checker → · Palette generator →

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