#AF49DF#AF49DF

#AF49DF is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.5% C 0.226 H 312.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AF49DF
RGBrgb(175, 73, 223)
HSLhsl(281, 70%, 58%)
HSVhsv(281, 67%, 87%)
CMYKcmyk(21.5%, 67.3%, 0%, 12.5%)
CIE-LABlab(50.93, 64.27, -58.64)
CIE-LCHlch(50.93, 87.01, 317.62°)
OKLaboklab(60.51% 0.1535 -0.1653)
OKLCHoklch(60.51% 0.226 312.9)
XYZxyz(33.3787, 19.2077, 71.7469)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49DF #79DF49
analogous
#6449DF #AF49DF #DF49C4
triadic
#AF49DF #DFAF49 #49DFAF
tetradic
#AF49DF #DF6449 #79DF49 #49C4DF
square
#AF49DF #DF6449 #79DF49 #49C4DF
split-complementary
#AF49DF #C4DF49 #49DF64
monochromatic
#6D1A94 #9323C8 #AF49DF #C67DE8 #DDB1F1

Accessibility & contrast

On white

4.34
#AF49DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#AF49DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF49DF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49DF#FFFFFF#000000##000000
##AF49DF1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#3D7CDC
Tritanopia (blue-blind)
#AA688E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af49df;
/* rgb */ color: rgb(175, 73, 223);
/* oklch */ color: oklch(60.5% 0.226 312.9);
Tailwind
colors: {
  custom: {
    50: '#cb83ea',
    500: '#af49df',
    950: '#000000',
  },
}
SCSS
$custom: #af49df;
$custom-light: #cb83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#af49df",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 223
  },
  "hsl": {
    "h": 280.8,
    "s": 70.093,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60513,
    "c": 0.22562,
    "h": 312.9
  },
  "luminance": 0.19207
}

Semantic roles & 50–950 ramp

primary
#AF49DF
secondary
#B7E0A4
accent
#ED3B74
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF49DF

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

Preview Lab → · Contrast checker → · Palette generator →

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