#AF49C5#AF49C5

#AF49C5 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 58.9% C 0.201 H 320.1°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#AF49C5
RGBrgb(175, 73, 197)
HSLhsl(289, 52%, 53%)
HSVhsv(289, 63%, 77%)
CMYKcmyk(11.2%, 62.9%, 0%, 22.7%)
CIE-LABlab(49.39, 59.11, -46.23)
CIE-LCHlch(49.39, 75.04, 321.97°)
OKLaboklab(58.91% 0.1544 -0.129)
OKLCHoklch(58.91% 0.201 320.1)
XYZxyz(30.1386, 17.9117, 54.6823)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49C5 #5FC549
analogous
#7149C5 #AF49C5 #C5499D
triadic
#AF49C5 #C5AF49 #49C5AF
tetradic
#AF49C5 #C57149 #5FC549 #499DC5
square
#AF49C5 #C57149 #5FC549 #499DC5
split-complementary
#AF49C5 #9DC549 #49C571
monochromatic
#622470 #8B329E #AF49C5 #C377D4 #D8A6E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF49C5#FFFFFF#000000##000000
##AF49C51.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)
#286EC9
Deuteranopia (green-blind)
#5379C2
Tritanopia (blue-blind)
#B05E81
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af49c5;
/* rgb */ color: rgb(175, 73, 197);
/* oklch */ color: oklch(58.9% 0.201 320.1);
Tailwind
colors: {
  custom: {
    50: '#ca82d7',
    500: '#af49c5',
    950: '#000000',
  },
}
SCSS
$custom: #af49c5;
$custom-light: #ca82d7;
$custom-dark: #000000;
JSON
{
  "hex": "#af49c5",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 197
  },
  "hsl": {
    "h": 289.355,
    "s": 51.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5891,
    "c": 0.20123,
    "h": 320.1
  },
  "luminance": 0.1791
}

Semantic roles & 50–950 ramp

primary
#AF49C5
secondary
#A4D09A
accent
#DB4D66
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF49C5

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

Preview Lab → · Contrast checker → · Palette generator →

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