#AF47D1#AF47D1

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

Color values

HEX#AF47D1
RGBrgb(175, 71, 209)
HSLhsl(285, 60%, 55%)
HSVhsv(285, 66%, 82%)
CMYKcmyk(16.3%, 66%, 0%, 18%)
CIE-LABlab(49.77, 62.31, -52.53)
CIE-LCHlch(49.77, 81.50, 319.87°)
OKLaboklab(59.41% 0.1565 -0.1474)
OKLCHoklch(59.41% 0.215 316.7)
XYZxyz(31.4393, 18.2251, 62.1709)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF47D1 #69D147
analogous
#6A47D1 #AF47D1 #D147AE
triadic
#AF47D1 #D1AF47 #47D1AF
tetradic
#AF47D1 #D16A47 #69D147 #47AED1
square
#AF47D1 #D16A47 #69D147 #47AED1
split-complementary
#AF47D1 #AED147 #47D16A
monochromatic
#67207E #8F2CAF #AF47D1 #C478DD #DAA9E9

Accessibility & contrast

On white

4.52
#AF47D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF47D1#FFFFFF#000000##000000
##AF47D11.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0370D5
Deuteranopia (green-blind)
#4979CE
Tritanopia (blue-blind)
#AD6186
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af47d1;
/* rgb */ color: rgb(175, 71, 209);
/* oklch */ color: oklch(59.4% 0.215 316.7);
Tailwind
colors: {
  custom: {
    50: '#ca82e0',
    500: '#af47d1',
    950: '#000000',
  },
}
SCSS
$custom: #af47d1;
$custom-light: #ca82e0;
$custom-dark: #000000;
JSON
{
  "hex": "#af47d1",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 209
  },
  "hsl": {
    "h": 285.217,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59406,
    "c": 0.21502,
    "h": 316.7
  },
  "luminance": 0.18224
}

Semantic roles & 50–950 ramp

primary
#AF47D1
secondary
#ABD79D
accent
#E3456C
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF47D1

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

Preview Lab → · Contrast checker → · Palette generator →

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