#AF49CA#AF49CA

#AF49CA is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.2% C 0.206 H 318.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AF49CA
RGBrgb(175, 73, 202)
HSLhsl(287, 55%, 54%)
HSVhsv(287, 64%, 79%)
CMYKcmyk(13.4%, 63.9%, 0%, 20.8%)
CIE-LABlab(49.67, 60.07, -48.67)
CIE-LCHlch(49.67, 77.31, 320.99°)
OKLaboklab(59.21% 0.1544 -0.1361)
OKLCHoklch(59.21% 0.206 318.6)
XYZxyz(30.7210, 18.1446, 57.7497)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49CA #64CA49
analogous
#6F49CA #AF49CA #CA49A5
triadic
#AF49CA #CAAF49 #49CAAF
tetradic
#AF49CA #CA6F49 #64CA49 #49A5CA
square
#AF49CA #CA6F49 #64CA49 #49A5CA
split-complementary
#AF49CA #A5CA49 #49CA6F
monochromatic
#652276 #8D30A6 #AF49CA #C478D8 #D9A8E6

Accessibility & contrast

On white

4.54
#AF49CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#AF49CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF49CA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49CA#FFFFFF#000000##000000
##AF49CA1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#206FCE
Deuteranopia (green-blind)
#5079C7
Tritanopia (blue-blind)
#AF5F83
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af49ca;
/* rgb */ color: rgb(175, 73, 202);
/* oklch */ color: oklch(59.2% 0.206 318.6);
Tailwind
colors: {
  custom: {
    50: '#ca82db',
    500: '#af49ca',
    950: '#000000',
  },
}
SCSS
$custom: #af49ca;
$custom-light: #ca82db;
$custom-dark: #000000;
JSON
{
  "hex": "#af49ca",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 287.442,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59205,
    "c": 0.20586,
    "h": 318.6
  },
  "luminance": 0.18143
}

Semantic roles & 50–950 ramp

primary
#AF49CA
secondary
#A7D39C
accent
#DE4A69
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF49CA

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

Preview Lab → · Contrast checker → · Palette generator →

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