#AF49D2#AF49D2

#AF49D2 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.7% C 0.213 H 316.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AF49D2
RGBrgb(175, 73, 210)
HSLhsl(285, 60%, 55%)
HSVhsv(285, 65%, 82%)
CMYKcmyk(16.7%, 65.2%, 0%, 17.6%)
CIE-LABlab(50.14, 61.65, -52.51)
CIE-LCHlch(50.14, 80.98, 319.57°)
OKLaboklab(59.69% 0.1543 -0.1474)
OKLCHoklch(59.69% 0.213 316.3)
XYZxyz(31.6928, 18.5334, 62.8681)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49D2 #6CD249
analogous
#6B49D2 #AF49D2 #D249B0
triadic
#AF49D2 #D2AF49 #49D2AF
tetradic
#AF49D2 #D26B49 #6CD249 #49B0D2
square
#AF49D2 #D26B49 #6CD249 #49B0D2
split-complementary
#AF49D2 #B0D249 #49D26B
monochromatic
#682081 #902CB2 #AF49D2 #C57ADE #DAABEA

Accessibility & contrast

On white

4.46
#AF49D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#AF49D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF49D2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49D2#FFFFFF#000000##000000
##AF49D21.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B71D6
Deuteranopia (green-blind)
#4A7ACF
Tritanopia (blue-blind)
#AD6387
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af49d2;
/* rgb */ color: rgb(175, 73, 210);
/* oklch */ color: oklch(59.7% 0.213 316.3);
Tailwind
colors: {
  custom: {
    50: '#ca83e0',
    500: '#af49d2',
    950: '#000000',
  },
}
SCSS
$custom: #af49d2;
$custom-light: #ca83e0;
$custom-dark: #000000;
JSON
{
  "hex": "#af49d2",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 210
  },
  "hsl": {
    "h": 284.672,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5969,
    "c": 0.21334,
    "h": 316.3
  },
  "luminance": 0.18532
}

Semantic roles & 50–950 ramp

primary
#AF49D2
secondary
#ADD89F
accent
#E3446D
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF49D2

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

Preview Lab → · Contrast checker → · Palette generator →

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