#AF49BE#AF49BE

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

Color values

HEX#AF49BE
RGBrgb(175, 73, 190)
HSLhsl(292, 47%, 52%)
HSVhsv(292, 62%, 75%)
CMYKcmyk(7.9%, 61.6%, 0%, 25.5%)
CIE-LABlab(49.01, 57.78, -42.79)
CIE-LCHlch(49.01, 71.90, 323.48°)
OKLaboklab(58.51% 0.1543 -0.119)
OKLCHoklch(58.51% 0.195 322.4)
XYZxyz(29.3550, 17.5983, 50.5558)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49BE #58BE49
analogous
#7549BE #AF49BE #BE4993
triadic
#AF49BE #BEAF49 #49BEAF
tetradic
#AF49BE #BE7549 #58BE49 #4993BE
square
#AF49BE #BE7549 #58BE49 #4993BE
split-complementary
#AF49BE #93BE49 #49BE75
monochromatic
#5F2568 #883595 #AF49BE #C376CE #D7A3DE

Accessibility & contrast

On white

4.65
#AF49BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#AF49BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF49BE
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49BE#FFFFFF#000000##FFFFFF
##AF49BE1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306DC2
Deuteranopia (green-blind)
#5878BB
Tritanopia (blue-blind)
#B15B7D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af49be;
/* rgb */ color: rgb(175, 73, 190);
/* oklch */ color: oklch(58.5% 0.195 322.4);
Tailwind
colors: {
  custom: {
    50: '#ca82d2',
    500: '#af49be',
    950: '#000000',
  },
}
SCSS
$custom: #af49be;
$custom-light: #ca82d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af49be",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 190
  },
  "hsl": {
    "h": 292.308,
    "s": 47.368,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58508,
    "c": 0.19482,
    "h": 322.4
  },
  "luminance": 0.17597
}

Semantic roles & 50–950 ramp

primary
#AF49BE
secondary
#9ECB98
accent
#D75162
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF49BE

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

Preview Lab → · Contrast checker → · Palette generator →

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