#AF49D7#AF49D7

#AF49D7 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.0% C 0.218 H 315.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AF49D7
RGBrgb(175, 73, 215)
HSLhsl(283, 64%, 56%)
HSVhsv(283, 66%, 84%)
CMYKcmyk(18.6%, 66%, 0%, 15.7%)
CIE-LABlab(50.44, 62.65, -54.89)
CIE-LCHlch(50.44, 83.29, 318.78°)
OKLaboklab(60% 0.1541 -0.1543)
OKLCHoklch(60% 0.218 315)
XYZxyz(32.3255, 18.7865, 66.2002)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49D7 #71D749
analogous
#6849D7 #AF49D7 #D749B8
triadic
#AF49D7 #D7AF49 #49D7AF
tetradic
#AF49D7 #D76849 #71D749 #49B8D7
square
#AF49D7 #D76849 #71D749 #49B8D7
split-complementary
#AF49D7 #B8D749 #49D768
monochromatic
#6A1E88 #9129BA #AF49D7 #C57BE2 #DBADED

Accessibility & contrast

On white

4.41
#AF49D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#AF49D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF49D7
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49D7#FFFFFF#000000##000000
##AF49D71.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#457BD4
Tritanopia (blue-blind)
#AC648A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af49d7;
/* rgb */ color: rgb(175, 73, 215);
/* oklch */ color: oklch(60.0% 0.218 315.0);
Tailwind
colors: {
  custom: {
    50: '#cb83e4',
    500: '#af49d7',
    950: '#000000',
  },
}
SCSS
$custom: #af49d7;
$custom-light: #cb83e4;
$custom-dark: #000000;
JSON
{
  "hex": "#af49d7",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 215
  },
  "hsl": {
    "h": 283.099,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60002,
    "c": 0.21806,
    "h": 315
  },
  "luminance": 0.18785
}

Semantic roles & 50–950 ramp

primary
#AF49D7
secondary
#B1DBA1
accent
#E74170
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF49D7

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

Preview Lab → · Contrast checker → · Palette generator →

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