#AF49B8#AF49B8

#AF49B8 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.2% C 0.189 H 324.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AF49B8
RGBrgb(175, 73, 184)
HSLhsl(295, 44%, 50%)
HSVhsv(295, 60%, 72%)
CMYKcmyk(4.9%, 60.3%, 0%, 27.8%)
CIE-LABlab(48.69, 56.67, -39.81)
CIE-LCHlch(48.69, 69.25, 324.91°)
OKLaboklab(58.17% 0.1539 -0.1103)
OKLCHoklch(58.17% 0.189 324.4)
XYZxyz(28.7127, 17.3413, 47.1729)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49B8 #52B849
analogous
#7749B8 #AF49B8 #B84989
triadic
#AF49B8 #B8AF49 #49B8AF
tetradic
#AF49B8 #B87749 #52B849 #4989B8
square
#AF49B8 #B87749 #52B849 #4989B8
split-complementary
#AF49B8 #89B849 #49B877
monochromatic
#5C2661 #86378D #AF49B8 #C275C9 #D6A1DA

Accessibility & contrast

On white

4.70
#AF49B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#AF49B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF49B8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49B8#FFFFFF#000000##FFFFFF
##AF49B81.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366CBB
Deuteranopia (green-blind)
#5B78B5
Tritanopia (blue-blind)
#B2597A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af49b8;
/* rgb */ color: rgb(175, 73, 184);
/* oklch */ color: oklch(58.2% 0.189 324.4);
Tailwind
colors: {
  custom: {
    50: '#ca82ce',
    500: '#af49b8',
    950: '#000000',
  },
}
SCSS
$custom: #af49b8;
$custom-light: #ca82ce;
$custom-dark: #000000;
JSON
{
  "hex": "#af49b8",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 184
  },
  "hsl": {
    "h": 295.135,
    "s": 43.874,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58174,
    "c": 0.18939,
    "h": 324.4
  },
  "luminance": 0.1734
}

Semantic roles & 50–950 ramp

primary
#AF49B8
secondary
#9AC796
accent
#D4545F
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #AF49B8

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

Preview Lab → · Contrast checker → · Palette generator →

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