#AF47D5#AF47D5

#AF47D5 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.7% C 0.219 H 315.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AF47D5
RGBrgb(175, 71, 213)
HSLhsl(284, 63%, 56%)
HSVhsv(284, 67%, 84%)
CMYKcmyk(17.8%, 66.7%, 0%, 16.5%)
CIE-LABlab(50.01, 63.10, -54.43)
CIE-LCHlch(50.01, 83.33, 319.22°)
OKLaboklab(59.66% 0.1564 -0.153)
OKLCHoklch(59.66% 0.219 315.6)
XYZxyz(31.9408, 18.4257, 64.8119)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF47D5 #6DD547
analogous
#6847D5 #AF47D5 #D547B4
triadic
#AF47D5 #D5AF47 #47D5AF
tetradic
#AF47D5 #D56847 #6DD547 #47B4D5
square
#AF47D5 #D56847 #6DD547 #47B4D5
split-complementary
#AF47D5 #B4D547 #47D568
monochromatic
#681E84 #9029B5 #AF47D5 #C579E0 #DAABEC

Accessibility & contrast

On white

4.48
#AF47D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#AF47D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF47D5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF47D5#FFFFFF#000000##000000
##AF47D51.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#457AD2
Tritanopia (blue-blind)
#AC6288
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af47d5;
/* rgb */ color: rgb(175, 71, 213);
/* oklch */ color: oklch(59.7% 0.219 315.6);
Tailwind
colors: {
  custom: {
    50: '#cb82e3',
    500: '#af47d5',
    950: '#000000',
  },
}
SCSS
$custom: #af47d5;
$custom-light: #cb82e3;
$custom-dark: #000000;
JSON
{
  "hex": "#af47d5",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 213
  },
  "hsl": {
    "h": 283.944,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59656,
    "c": 0.21874,
    "h": 315.6
  },
  "luminance": 0.18425
}

Semantic roles & 50–950 ramp

primary
#AF47D5
secondary
#AED99E
accent
#E6426E
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF47D5

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

Preview Lab → · Contrast checker → · Palette generator →

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