#AF49D6#AF49D6

#AF49D6 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 59.9% C 0.217 H 315.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AF49D6
RGBrgb(175, 73, 214)
HSLhsl(283, 63%, 56%)
HSVhsv(283, 66%, 84%)
CMYKcmyk(18.2%, 65.9%, 0%, 16.1%)
CIE-LABlab(50.38, 62.45, -54.41)
CIE-LCHlch(50.38, 82.83, 318.93°)
OKLaboklab(59.94% 0.1541 -0.1529)
OKLCHoklch(59.94% 0.217 315.2)
XYZxyz(32.1974, 18.7352, 65.5255)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49D6 #70D649
analogous
#6949D6 #AF49D6 #D649B7
triadic
#AF49D6 #D6AF49 #49D6AF
tetradic
#AF49D6 #D66949 #70D649 #49B7D6
square
#AF49D6 #D66949 #70D649 #49B7D6
split-complementary
#AF49D6 #B7D649 #49D669
monochromatic
#6A1E86 #912AB8 #AF49D6 #C57BE1 #DBADED

Accessibility & contrast

On white

4.42
#AF49D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#AF49D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF49D6
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49D6#FFFFFF#000000##000000
##AF49D61.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DA
Deuteranopia (green-blind)
#467BD3
Tritanopia (blue-blind)
#AC648A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af49d6;
/* rgb */ color: rgb(175, 73, 214);
/* oklch */ color: oklch(59.9% 0.217 315.2);
Tailwind
colors: {
  custom: {
    50: '#cb83e3',
    500: '#af49d6',
    950: '#000000',
  },
}
SCSS
$custom: #af49d6;
$custom-light: #cb83e3;
$custom-dark: #000000;
JSON
{
  "hex": "#af49d6",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 214
  },
  "hsl": {
    "h": 283.404,
    "s": 63.229,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59939,
    "c": 0.21711,
    "h": 315.2
  },
  "luminance": 0.18734
}

Semantic roles & 50–950 ramp

primary
#AF49D6
secondary
#B0DAA0
accent
#E6426F
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B15
muted
#827C84

Preview Lab

Preview with #AF49D6

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

Preview Lab → · Contrast checker → · Palette generator →

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