#AF47CF#AF47CF

#AF47CF is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.3% C 0.213 H 317.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AF47CF
RGBrgb(175, 71, 207)
HSLhsl(286, 59%, 55%)
HSVhsv(286, 66%, 81%)
CMYKcmyk(15.5%, 65.7%, 0%, 18.8%)
CIE-LABlab(49.65, 61.92, -51.57)
CIE-LCHlch(49.65, 80.58, 320.21°)
OKLaboklab(59.28% 0.1566 -0.1446)
OKLCHoklch(59.28% 0.213 317.3)
XYZxyz(31.1933, 18.1267, 60.8751)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF47CF #67CF47
analogous
#6B47CF #AF47CF #CF47AB
triadic
#AF47CF #CFAF47 #47CFAF
tetradic
#AF47CF #CF6B47 #67CF47 #47ABCF
square
#AF47CF #CF6B47 #67CF47 #47ABCF
split-complementary
#AF47CF #ABCF47 #47CF6B
monochromatic
#66207B #8E2DAC #AF47CF #C478DC #D9A8E8

Accessibility & contrast

On white

4.54
#AF47CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#AF47CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF47CF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF47CF#FFFFFF#000000##000000
##AF47CF1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C70D3
Deuteranopia (green-blind)
#4B79CC
Tritanopia (blue-blind)
#AE6085
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af47cf;
/* rgb */ color: rgb(175, 71, 207);
/* oklch */ color: oklch(59.3% 0.213 317.3);
Tailwind
colors: {
  custom: {
    50: '#ca82de',
    500: '#af47cf',
    950: '#000000',
  },
}
SCSS
$custom: #af47cf;
$custom-light: #ca82de;
$custom-dark: #000000;
JSON
{
  "hex": "#af47cf",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 285.882,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59283,
    "c": 0.21316,
    "h": 317.3
  },
  "luminance": 0.18125
}

Semantic roles & 50–950 ramp

primary
#AF47CF
secondary
#AAD69C
accent
#E2466B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF47CF

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

Preview Lab → · Contrast checker → · Palette generator →

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