#AF49BD#AF49BD

#AF49BD is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.5% C 0.194 H 322.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AF49BD
RGBrgb(175, 73, 189)
HSLhsl(293, 47%, 51%)
HSVhsv(293, 61%, 74%)
CMYKcmyk(7.4%, 61.4%, 0%, 25.9%)
CIE-LABlab(48.95, 57.59, -42.30)
CIE-LCHlch(48.95, 71.46, 323.71°)
OKLaboklab(58.45% 0.1542 -0.1176)
OKLCHoklch(58.45% 0.194 322.7)
XYZxyz(29.2461, 17.5547, 49.9822)
Luminance0.1755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49BD #57BD49
analogous
#7549BD #AF49BD #BD4991
triadic
#AF49BD #BDAF49 #49BDAF
tetradic
#AF49BD #BD7549 #57BD49 #4991BD
square
#AF49BD #BD7549 #57BD49 #4991BD
split-complementary
#AF49BD #91BD49 #49BD75
monochromatic
#5F2566 #883593 #AF49BD #C376CD #D6A3DE

Accessibility & contrast

On white

4.66
#AF49BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#AF49BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF49BD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49BD#FFFFFF#000000##FFFFFF
##AF49BD1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316DC1
Deuteranopia (green-blind)
#5978BA
Tritanopia (blue-blind)
#B15B7C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af49bd;
/* rgb */ color: rgb(175, 73, 189);
/* oklch */ color: oklch(58.5% 0.194 322.7);
Tailwind
colors: {
  custom: {
    50: '#ca82d1',
    500: '#af49bd',
    950: '#000000',
  },
}
SCSS
$custom: #af49bd;
$custom-light: #ca82d1;
$custom-dark: #000000;
JSON
{
  "hex": "#af49bd",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 189
  },
  "hsl": {
    "h": 292.759,
    "s": 46.774,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58451,
    "c": 0.19391,
    "h": 322.7
  },
  "luminance": 0.17553
}

Semantic roles & 50–950 ramp

primary
#AF49BD
secondary
#9ECA97
accent
#D65161
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF49BD

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

Preview Lab → · Contrast checker → · Palette generator →

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