#AF49C2#AF49C2

#AF49C2 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.7% C 0.198 H 321.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AF49C2
RGBrgb(175, 73, 194)
HSLhsl(291, 50%, 52%)
HSVhsv(291, 62%, 76%)
CMYKcmyk(9.8%, 62.4%, 0%, 23.9%)
CIE-LABlab(49.22, 58.54, -44.76)
CIE-LCHlch(49.22, 73.69, 322.59°)
OKLaboklab(58.74% 0.1544 -0.1247)
OKLCHoklch(58.74% 0.198 321.1)
XYZxyz(29.7982, 17.7755, 52.8899)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49C2 #5CC249
analogous
#7349C2 #AF49C2 #C24998
triadic
#AF49C2 #C2AF49 #49C2AF
tetradic
#AF49C2 #C27349 #5CC249 #4998C2
square
#AF49C2 #C27349 #5CC249 #4998C2
split-complementary
#AF49C2 #98C249 #49C273
monochromatic
#61246C #8A349A #AF49C2 #C377D1 #D7A5E1

Accessibility & contrast

On white

4.61
#AF49C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#AF49C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF49C2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49C2#FFFFFF#000000##FFFFFF
##AF49C21.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6EC6
Deuteranopia (green-blind)
#5579BF
Tritanopia (blue-blind)
#B05C7F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af49c2;
/* rgb */ color: rgb(175, 73, 194);
/* oklch */ color: oklch(58.7% 0.198 321.1);
Tailwind
colors: {
  custom: {
    50: '#ca82d5',
    500: '#af49c2',
    950: '#000000',
  },
}
SCSS
$custom: #af49c2;
$custom-light: #ca82d5;
$custom-dark: #000000;
JSON
{
  "hex": "#af49c2",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 194
  },
  "hsl": {
    "h": 290.579,
    "s": 49.794,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58736,
    "c": 0.19847,
    "h": 321.1
  },
  "luminance": 0.17774
}

Semantic roles & 50–950 ramp

primary
#AF49C2
secondary
#A1CE99
accent
#D94E64
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF49C2

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

Preview Lab → · Contrast checker → · Palette generator →

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