#AF49D4#AF49D4

#AF49D4 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.8% C 0.215 H 315.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AF49D4
RGBrgb(175, 73, 212)
HSLhsl(284, 62%, 56%)
HSVhsv(284, 66%, 83%)
CMYKcmyk(17.5%, 65.6%, 0%, 16.9%)
CIE-LABlab(50.26, 62.05, -53.46)
CIE-LCHlch(50.26, 81.90, 319.25°)
OKLaboklab(59.81% 0.1542 -0.1501)
OKLCHoklch(59.81% 0.215 315.8)
XYZxyz(31.9435, 18.6337, 64.1886)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49D4 #6ED449
analogous
#6949D4 #AF49D4 #D449B3
triadic
#AF49D4 #D4AF49 #49D4AF
tetradic
#AF49D4 #D46949 #6ED449 #49B3D4
square
#AF49D4 #D46949 #6ED449 #49B3D4
split-complementary
#AF49D4 #B3D449 #49D469
monochromatic
#691F84 #902BB5 #AF49D4 #C57BE0 #DBACEB

Accessibility & contrast

On white

4.44
#AF49D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#AF49D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF49D4
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49D4#FFFFFF#000000##000000
##AF49D41.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0272D8
Deuteranopia (green-blind)
#487AD1
Tritanopia (blue-blind)
#AD6388
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af49d4;
/* rgb */ color: rgb(175, 73, 212);
/* oklch */ color: oklch(59.8% 0.215 315.8);
Tailwind
colors: {
  custom: {
    50: '#cb83e2',
    500: '#af49d4',
    950: '#000000',
  },
}
SCSS
$custom: #af49d4;
$custom-light: #cb83e2;
$custom-dark: #000000;
JSON
{
  "hex": "#af49d4",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 212
  },
  "hsl": {
    "h": 284.029,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59814,
    "c": 0.21523,
    "h": 315.8
  },
  "luminance": 0.18633
}

Semantic roles & 50–950 ramp

primary
#AF49D4
secondary
#AFD9A0
accent
#E5436E
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF49D4

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

Preview Lab → · Contrast checker → · Palette generator →

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