#AF49CC#AF49CC

#AF49CC is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.3% C 0.208 H 318.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AF49CC
RGBrgb(175, 73, 204)
HSLhsl(287, 56%, 54%)
HSVhsv(287, 64%, 80%)
CMYKcmyk(14.2%, 64.2%, 0%, 20%)
CIE-LABlab(49.79, 60.46, -49.63)
CIE-LCHlch(49.79, 78.23, 320.62°)
OKLaboklab(59.33% 0.1544 -0.1389)
OKLCHoklch(59.33% 0.208 318)
XYZxyz(30.9593, 18.2400, 59.0049)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49CC #66CC49
analogous
#6E49CC #AF49CC #CC49A7
triadic
#AF49CC #CCAF49 #49CCAF
tetradic
#AF49CC #CC6E49 #66CC49 #49A7CC
square
#AF49CC #CC6E49 #66CC49 #49A7CC
split-complementary
#AF49CC #A7CC49 #49CC6E
monochromatic
#662279 #8E2FA9 #AF49CC #C479D9 #D9A9E7

Accessibility & contrast

On white

4.52
#AF49CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#AF49CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF49CC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49CC#FFFFFF#000000##000000
##AF49CC1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C70D0
Deuteranopia (green-blind)
#4E7AC9
Tritanopia (blue-blind)
#AE6084
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af49cc;
/* rgb */ color: rgb(175, 73, 204);
/* oklch */ color: oklch(59.3% 0.208 318.0);
Tailwind
colors: {
  custom: {
    50: '#ca83dc',
    500: '#af49cc',
    950: '#000000',
  },
}
SCSS
$custom: #af49cc;
$custom-light: #ca83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#af49cc",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 286.718,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59325,
    "c": 0.20773,
    "h": 318
  },
  "luminance": 0.18239
}

Semantic roles & 50–950 ramp

primary
#AF49CC
secondary
#A9D49D
accent
#E0486A
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF49CC

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

Preview Lab → · Contrast checker → · Palette generator →

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