#AF47C1#AF47C1

#AF47C1 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.4% C 0.200 H 321.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AF47C1
RGBrgb(175, 71, 193)
HSLhsl(291, 50%, 52%)
HSVhsv(291, 63%, 76%)
CMYKcmyk(9.3%, 63.2%, 0%, 24.3%)
CIE-LABlab(48.85, 59.22, -44.78)
CIE-LCHlch(48.85, 74.25, 322.91°)
OKLaboklab(58.45% 0.1567 -0.1248)
OKLCHoklch(58.45% 0.2 321.5)
XYZxyz(29.5570, 17.4722, 52.2573)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF47C1 #59C147
analogous
#7247C1 #AF47C1 #C14796
triadic
#AF47C1 #C1AF47 #47C1AF
tetradic
#AF47C1 #C17247 #59C147 #4796C1
square
#AF47C1 #C17247 #59C147 #4796C1
split-complementary
#AF47C1 #96C147 #47C172
monochromatic
#60246A #893398 #AF47C1 #C375D0 #D7A3E0

Accessibility & contrast

On white

4.67
#AF47C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#AF47C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF47C1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF47C1#FFFFFF#000000##FFFFFF
##AF47C11.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296DC5
Deuteranopia (green-blind)
#5578BE
Tritanopia (blue-blind)
#B15B7E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af47c1;
/* rgb */ color: rgb(175, 71, 193);
/* oklch */ color: oklch(58.4% 0.200 321.5);
Tailwind
colors: {
  custom: {
    50: '#ca81d4',
    500: '#af47c1',
    950: '#000000',
  },
}
SCSS
$custom: #af47c1;
$custom-light: #ca81d4;
$custom-dark: #000000;
JSON
{
  "hex": "#af47c1",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 193
  },
  "hsl": {
    "h": 291.148,
    "s": 49.593,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58448,
    "c": 0.20032,
    "h": 321.5
  },
  "luminance": 0.17471
}

Semantic roles & 50–950 ramp

primary
#AF47C1
secondary
#9FCD97
accent
#D94F63
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF47C1

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

Preview Lab → · Contrast checker → · Palette generator →

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