#AF47CD#AF47CD

#AF47CD is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.2% C 0.211 H 317.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AF47CD
RGBrgb(175, 71, 205)
HSLhsl(287, 57%, 54%)
HSVhsv(287, 65%, 80%)
CMYKcmyk(14.6%, 65.4%, 0%, 19.6%)
CIE-LABlab(49.53, 61.52, -50.61)
CIE-LCHlch(49.53, 79.67, 320.56°)
OKLaboklab(59.16% 0.1567 -0.1418)
OKLCHoklch(59.16% 0.211 317.9)
XYZxyz(30.9503, 18.0295, 59.5955)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF47CD #65CD47
analogous
#6C47CD #AF47CD #CD47A8
triadic
#AF47CD #CDAF47 #47CDAF
tetradic
#AF47CD #CD6C47 #65CD47 #47A8CD
square
#AF47CD #CD6C47 #65CD47 #47A8CD
split-complementary
#AF47CD #A8CD47 #47CD6C
monochromatic
#652179 #8D2EA9 #AF47CD #C477DA #D9A7E7

Accessibility & contrast

On white

4.56
#AF47CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#AF47CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF47CD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF47CD#FFFFFF#000000##000000
##AF47CD1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#136FD1
Deuteranopia (green-blind)
#4C79CA
Tritanopia (blue-blind)
#AE5F84
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af47cd;
/* rgb */ color: rgb(175, 71, 205);
/* oklch */ color: oklch(59.2% 0.211 317.9);
Tailwind
colors: {
  custom: {
    50: '#ca81dd',
    500: '#af47cd',
    950: '#000000',
  },
}
SCSS
$custom: #af47cd;
$custom-light: #ca81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af47cd",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 286.567,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5916,
    "c": 0.21131,
    "h": 317.9
  },
  "luminance": 0.18028
}

Semantic roles & 50–950 ramp

primary
#AF47CD
secondary
#A8D49B
accent
#E1476A
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF47CD

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

Preview Lab → · Contrast checker → · Palette generator →

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