#AF47AE#AF47AE

#AF47AE is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.4% C 0.183 H 328.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AF47AE
RGBrgb(175, 71, 174)
HSLhsl(301, 42%, 48%)
HSVhsv(301, 59%, 69%)
CMYKcmyk(0%, 59.4%, 0.6%, 31.4%)
CIE-LABlab(47.85, 55.76, -35.27)
CIE-LCHlch(47.85, 65.98, 327.69°)
OKLaboklab(57.4% 0.1557 -0.0972)
OKLCHoklch(57.4% 0.184 328)
XYZxyz(27.5720, 16.6782, 41.8032)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF47AE #47AF48
analogous
#7C47AF #AF47AE #AF477A
triadic
#AF47AE #AEAF47 #47AEAF
tetradic
#AF47AE #AF7C47 #47AF48 #477AAF
square
#AF47AE #AF7C47 #47AF48 #477AAF
split-complementary
#AF47AE #7AAF47 #47AF7C
monochromatic
#582457 #833583 #AF47AE #C46FC4 #D69AD6

Accessibility & contrast

On white

4.84
#AF47AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#AF47AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF47AE
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF47AE#FFFFFF#000000##FFFFFF
##AF47AE1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C69B1
Deuteranopia (green-blind)
#5F76AB
Tritanopia (blue-blind)
#B45374
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af47ae;
/* rgb */ color: rgb(175, 71, 174);
/* oklch */ color: oklch(57.4% 0.183 328.0);
Tailwind
colors: {
  custom: {
    50: '#ca81c6',
    500: '#af47ae',
    950: '#000000',
  },
}
SCSS
$custom: #af47ae;
$custom-light: #ca81c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af47ae",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 174
  },
  "hsl": {
    "h": 300.577,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.574,
    "c": 0.1835,
    "h": 328
  },
  "luminance": 0.16676
}

Semantic roles & 50–950 ramp

primary
#AF47AE
secondary
#8FC290
accent
#D25756
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #AF47AE

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

Preview Lab → · Contrast checker → · Palette generator →

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