#AF47C8#AF47C8

#AF47C8 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 58.9% C 0.207 H 319.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AF47C8
RGBrgb(175, 71, 200)
HSLhsl(288, 54%, 53%)
HSVhsv(288, 65%, 78%)
CMYKcmyk(12.5%, 64.5%, 0%, 21.6%)
CIE-LABlab(49.24, 60.56, -48.20)
CIE-LCHlch(49.24, 77.40, 321.48°)
OKLaboklab(58.86% 0.1568 -0.1347)
OKLCHoklch(58.86% 0.207 319.3)
XYZxyz(30.3564, 17.7919, 56.4676)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF47C8 #60C847
analogous
#6E47C8 #AF47C8 #C847A0
triadic
#AF47C8 #C8AF47 #47C8AF
tetradic
#AF47C8 #C86E47 #60C847 #47A0C8
square
#AF47C8 #C86E47 #60C847 #47A0C8
split-complementary
#AF47C8 #A0C847 #47C86E
monochromatic
#632272 #8C30A2 #AF47C8 #C376D6 #D8A5E4

Accessibility & contrast

On white

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

On black

4.56
#AF47C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF47C8#FFFFFF#000000##FFFFFF
##AF47C81.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6ECC
Deuteranopia (green-blind)
#5079C5
Tritanopia (blue-blind)
#AF5D81
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af47c8;
/* rgb */ color: rgb(175, 71, 200);
/* oklch */ color: oklch(58.9% 0.207 319.3);
Tailwind
colors: {
  custom: {
    50: '#ca81d9',
    500: '#af47c8',
    950: '#000000',
  },
}
SCSS
$custom: #af47c8;
$custom-light: #ca81d9;
$custom-dark: #000000;
JSON
{
  "hex": "#af47c8",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 288.372,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58859,
    "c": 0.20671,
    "h": 319.3
  },
  "luminance": 0.17791
}

Semantic roles & 50–950 ramp

primary
#AF47C8
secondary
#A4D19A
accent
#DD4A67
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF47C8

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

Preview Lab → · Contrast checker → · Palette generator →

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