#AF47CE#AF47CE

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

Color values

HEX#AF47CE
RGBrgb(175, 71, 206)
HSLhsl(286, 58%, 54%)
HSVhsv(286, 66%, 81%)
CMYKcmyk(15%, 65.5%, 0%, 19.2%)
CIE-LABlab(49.59, 61.72, -51.09)
CIE-LCHlch(49.59, 80.12, 320.38°)
OKLaboklab(59.22% 0.1566 -0.1432)
OKLCHoklch(59.22% 0.212 317.6)
XYZxyz(31.0714, 18.0779, 60.2332)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF47CE #66CE47
analogous
#6C47CE #AF47CE #CE47AA
triadic
#AF47CE #CEAF47 #47CEAF
tetradic
#AF47CE #CE6C47 #66CE47 #47AACE
square
#AF47CE #CE6C47 #66CE47 #47AACE
split-complementary
#AF47CE #AACE47 #47CE6C
monochromatic
#66217A #8E2DAA #AF47CE #C477DB #D9A8E8

Accessibility & contrast

On white

4.55
#AF47CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#AF47CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF47CE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF47CE#FFFFFF#000000##000000
##AF47CE1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#106FD2
Deuteranopia (green-blind)
#4B79CB
Tritanopia (blue-blind)
#AE6085
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af47ce;
/* rgb */ color: rgb(175, 71, 206);
/* oklch */ color: oklch(59.2% 0.212 317.6);
Tailwind
colors: {
  custom: {
    50: '#ca81de',
    500: '#af47ce',
    950: '#000000',
  },
}
SCSS
$custom: #af47ce;
$custom-light: #ca81de;
$custom-dark: #000000;
JSON
{
  "hex": "#af47ce",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 286.222,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59221,
    "c": 0.21223,
    "h": 317.6
  },
  "luminance": 0.18077
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF47CE

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

Preview Lab → · Contrast checker → · Palette generator →

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