#AF49CD#AF49CD

#AF49CD is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.4% C 0.209 H 317.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AF49CD
RGBrgb(175, 73, 205)
HSLhsl(286, 57%, 55%)
HSVhsv(286, 64%, 80%)
CMYKcmyk(14.6%, 64.4%, 0%, 19.6%)
CIE-LABlab(49.84, 60.66, -50.12)
CIE-LCHlch(49.84, 78.68, 320.44°)
OKLaboklab(59.39% 0.1544 -0.1403)
OKLCHoklch(59.39% 0.209 317.7)
XYZxyz(31.0796, 18.2881, 59.6386)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49CD #67CD49
analogous
#6D49CD #AF49CD #CD49A9
triadic
#AF49CD #CDAF49 #49CDAF
tetradic
#AF49CD #CD6D49 #67CD49 #49A9CD
square
#AF49CD #CD6D49 #67CD49 #49A9CD
split-complementary
#AF49CD #A9CD49 #49CD6D
monochromatic
#66227A #8E2FAA #AF49CD #C479DA #D9A9E7

Accessibility & contrast

On white

4.51
#AF49CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#AF49CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF49CD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49CD#FFFFFF#000000##000000
##AF49CD1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A70D1
Deuteranopia (green-blind)
#4E7ACA
Tritanopia (blue-blind)
#AE6185
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af49cd;
/* rgb */ color: rgb(175, 73, 205);
/* oklch */ color: oklch(59.4% 0.209 317.7);
Tailwind
colors: {
  custom: {
    50: '#ca83dd',
    500: '#af49cd',
    950: '#000000',
  },
}
SCSS
$custom: #af49cd;
$custom-light: #ca83dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af49cd",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 205
  },
  "hsl": {
    "h": 286.364,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59385,
    "c": 0.20866,
    "h": 317.7
  },
  "luminance": 0.18287
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF49CD

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

Preview Lab → · Contrast checker → · Palette generator →

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