#AF49BF#AF49BF

#AF49BF is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.6% C 0.196 H 322.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AF49BF
RGBrgb(175, 73, 191)
HSLhsl(292, 48%, 52%)
HSVhsv(292, 62%, 75%)
CMYKcmyk(8.4%, 61.8%, 0%, 25.1%)
CIE-LABlab(49.06, 57.97, -43.29)
CIE-LCHlch(49.06, 72.35, 323.25°)
OKLaboklab(58.56% 0.1543 -0.1204)
OKLCHoklch(58.56% 0.196 322)
XYZxyz(29.4647, 17.6421, 51.1334)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49BF #59BF49
analogous
#7449BF #AF49BF #BF4994
triadic
#AF49BF #BFAF49 #49BFAF
tetradic
#AF49BF #BF7449 #59BF49 #4994BF
square
#AF49BF #BF7449 #59BF49 #4994BF
split-complementary
#AF49BF #94BF49 #49BF74
monochromatic
#602569 #893596 #AF49BF #C376CF #D7A4DF

Accessibility & contrast

On white

4.64
#AF49BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#AF49BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF49BF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49BF#FFFFFF#000000##FFFFFF
##AF49BF1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6DC3
Deuteranopia (green-blind)
#5779BC
Tritanopia (blue-blind)
#B15B7D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af49bf;
/* rgb */ color: rgb(175, 73, 191);
/* oklch */ color: oklch(58.6% 0.196 322.0);
Tailwind
colors: {
  custom: {
    50: '#ca82d3',
    500: '#af49bf',
    950: '#000000',
  },
}
SCSS
$custom: #af49bf;
$custom-light: #ca82d3;
$custom-dark: #000000;
JSON
{
  "hex": "#af49bf",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 291.864,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58564,
    "c": 0.19572,
    "h": 322
  },
  "luminance": 0.17641
}

Semantic roles & 50–950 ramp

primary
#AF49BF
secondary
#9FCC98
accent
#D85063
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF49BF

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

Preview Lab → · Contrast checker → · Palette generator →

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