#AF49D8#AF49D8

#AF49D8 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.1% C 0.219 H 314.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AF49D8
RGBrgb(175, 73, 216)
HSLhsl(283, 65%, 57%)
HSVhsv(283, 66%, 85%)
CMYKcmyk(19%, 66.2%, 0%, 15.3%)
CIE-LABlab(50.50, 62.85, -55.36)
CIE-LCHlch(50.50, 83.75, 318.63°)
OKLaboklab(60.07% 0.154 -0.1557)
OKLCHoklch(60.07% 0.219 314.7)
XYZxyz(32.4544, 18.8380, 66.8789)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49D8 #72D849
analogous
#6849D8 #AF49D8 #D849BA
triadic
#AF49D8 #D8AF49 #49D8AF
tetradic
#AF49D8 #D86849 #72D849 #49BAD8
square
#AF49D8 #D86849 #72D849 #49BAD8
split-complementary
#AF49D8 #BAD849 #49D868
monochromatic
#6A1D89 #9128BC #AF49D8 #C57BE3 #DBAEEE

Accessibility & contrast

On white

4.40
#AF49D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#AF49D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF49D8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49D8#FFFFFF#000000##000000
##AF49D81.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#447BD5
Tritanopia (blue-blind)
#AC658B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af49d8;
/* rgb */ color: rgb(175, 73, 216);
/* oklch */ color: oklch(60.1% 0.219 314.7);
Tailwind
colors: {
  custom: {
    50: '#cb83e5',
    500: '#af49d8',
    950: '#000000',
  },
}
SCSS
$custom: #af49d8;
$custom-light: #cb83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#af49d8",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 216
  },
  "hsl": {
    "h": 282.797,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60065,
    "c": 0.21899,
    "h": 314.7
  },
  "luminance": 0.18837
}

Semantic roles & 50–950 ramp

primary
#AF49D8
secondary
#B2DCA1
accent
#E84070
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF49D8

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

Preview Lab → · Contrast checker → · Palette generator →

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