#AF49C7#AF49C7

#AF49C7 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.0% C 0.203 H 319.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AF49C7
RGBrgb(175, 73, 199)
HSLhsl(289, 53%, 53%)
HSVhsv(289, 63%, 78%)
CMYKcmyk(12.1%, 63.3%, 0%, 22%)
CIE-LABlab(49.50, 59.49, -47.21)
CIE-LCHlch(49.50, 75.95, 321.57°)
OKLaboklab(59.03% 0.1544 -0.1319)
OKLCHoklch(59.03% 0.203 319.5)
XYZxyz(30.3692, 18.0039, 55.8972)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49C7 #61C749
analogous
#7049C7 #AF49C7 #C749A0
triadic
#AF49C7 #C7AF49 #49C7AF
tetradic
#AF49C7 #C77049 #61C749 #49A0C7
square
#AF49C7 #C77049 #61C749 #49A0C7
split-complementary
#AF49C7 #A0C749 #49C770
monochromatic
#632372 #8C32A1 #AF49C7 #C478D5 #D8A7E4

Accessibility & contrast

On white

4.56
#AF49C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#AF49C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF49C7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49C7#FFFFFF#000000##000000
##AF49C71.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#256FCB
Deuteranopia (green-blind)
#5279C4
Tritanopia (blue-blind)
#AF5E82
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af49c7;
/* rgb */ color: rgb(175, 73, 199);
/* oklch */ color: oklch(59.0% 0.203 319.5);
Tailwind
colors: {
  custom: {
    50: '#ca82d8',
    500: '#af49c7',
    950: '#000000',
  },
}
SCSS
$custom: #af49c7;
$custom-light: #ca82d8;
$custom-dark: #000000;
JSON
{
  "hex": "#af49c7",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 199
  },
  "hsl": {
    "h": 288.571,
    "s": 52.941,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59027,
    "c": 0.20308,
    "h": 319.5
  },
  "luminance": 0.18003
}

Semantic roles & 50–950 ramp

primary
#AF49C7
secondary
#A5D19B
accent
#DC4B67
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF49C7

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

Preview Lab → · Contrast checker → · Palette generator →

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