#AF47D0#AF47D0

#AF47D0 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.3% C 0.214 H 317.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AF47D0
RGBrgb(175, 71, 208)
HSLhsl(286, 59%, 55%)
HSVhsv(286, 66%, 82%)
CMYKcmyk(15.9%, 65.9%, 0%, 18.4%)
CIE-LABlab(49.71, 62.11, -52.05)
CIE-LCHlch(49.71, 81.04, 320.04°)
OKLaboklab(59.34% 0.1566 -0.146)
OKLCHoklch(59.34% 0.214 317)
XYZxyz(31.3159, 18.1758, 61.5210)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF47D0 #68D047
analogous
#6A47D0 #AF47D0 #D047AD
triadic
#AF47D0 #D0AF47 #47D0AF
tetradic
#AF47D0 #D06A47 #68D047 #47ADD0
square
#AF47D0 #D06A47 #68D047 #47ADD0
split-complementary
#AF47D0 #ADD047 #47D06A
monochromatic
#66207D #8E2CAD #AF47D0 #C478DC #D9A8E9

Accessibility & contrast

On white

4.53
#AF47D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#AF47D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF47D0
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF47D0#FFFFFF#000000##000000
##AF47D01.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0870D4
Deuteranopia (green-blind)
#4A79CD
Tritanopia (blue-blind)
#AE6086
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af47d0;
/* rgb */ color: rgb(175, 71, 208);
/* oklch */ color: oklch(59.3% 0.214 317.0);
Tailwind
colors: {
  custom: {
    50: '#ca82df',
    500: '#af47d0',
    950: '#000000',
  },
}
SCSS
$custom: #af47d0;
$custom-light: #ca82df;
$custom-dark: #000000;
JSON
{
  "hex": "#af47d0",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 208
  },
  "hsl": {
    "h": 285.547,
    "s": 59.307,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59344,
    "c": 0.21409,
    "h": 317
  },
  "luminance": 0.18175
}

Semantic roles & 50–950 ramp

primary
#AF47D0
secondary
#AAD69D
accent
#E2456B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF47D0

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

Preview Lab → · Contrast checker → · Palette generator →

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