#AF49AF#AF49AF

#AF49AF is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.7% C 0.181 H 327.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AF49AF
RGBrgb(175, 73, 175)
HSLhsl(300, 41%, 49%)
HSVhsv(300, 58%, 69%)
CMYKcmyk(0%, 58.3%, 0%, 31.4%)
CIE-LABlab(48.23, 55.04, -35.26)
CIE-LCHlch(48.23, 65.37, 327.35°)
OKLaboklab(57.69% 0.1532 -0.0972)
OKLCHoklch(57.69% 0.181 327.6)
XYZxyz(27.7992, 16.9759, 42.3616)
Luminance0.1697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49AF #49AF49
analogous
#7C49AF #AF49AF #AF497C
triadic
#AF49AF #AFAF49 #49AFAF
tetradic
#AF49AF #AF7C49 #49AF49 #497CAF
square
#AF49AF #AF7C49 #49AF49 #497CAF
split-complementary
#AF49AF #7CAF49 #49AF7C
monochromatic
#592559 #843784 #AF49AF #C471C4 #D69CD6

Accessibility & contrast

On white

4.78
#AF49AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AF49AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF49AF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49AF#FFFFFF#000000##FFFFFF
##AF49AF1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6AB2
Deuteranopia (green-blind)
#6077AC
Tritanopia (blue-blind)
#B45575
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af49af;
/* rgb */ color: rgb(175, 73, 175);
/* oklch */ color: oklch(57.7% 0.181 327.6);
Tailwind
colors: {
  custom: {
    50: '#ca82c7',
    500: '#af49af',
    950: '#000000',
  },
}
SCSS
$custom: #af49af;
$custom-light: #ca82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#af49af",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 175
  },
  "hsl": {
    "h": 300,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57691,
    "c": 0.18144,
    "h": 327.6
  },
  "luminance": 0.16974
}

Semantic roles & 50–950 ramp

primary
#AF49AF
secondary
#91C291
accent
#D15757
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #AF49AF

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

Preview Lab → · Contrast checker → · Palette generator →

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