#AF47DA#AF47DA

#AF47DA is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.0% C 0.223 H 314.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AF47DA
RGBrgb(175, 71, 218)
HSLhsl(282, 67%, 57%)
HSVhsv(282, 67%, 85%)
CMYKcmyk(19.7%, 67.4%, 0%, 14.5%)
CIE-LABlab(50.31, 64.10, -56.79)
CIE-LCHlch(50.31, 85.64, 318.46°)
OKLaboklab(59.97% 0.156 -0.1599)
OKLCHoklch(59.97% 0.223 314.3)
XYZxyz(32.5852, 18.6835, 68.2059)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF47DA #72DA47
analogous
#6647DA #AF47DA #DA47BC
triadic
#AF47DA #DAAF47 #47DAAF
tetradic
#AF47DA #DA6647 #72DA47 #47BCDA
square
#AF47DA #DA6647 #72DA47 #47BCDA
split-complementary
#AF47DA #BCDA47 #47DA66
monochromatic
#6A1C8B #9126BE #AF47DA #C57AE4 #DBADEE

Accessibility & contrast

On white

4.43
#AF47DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#AF47DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF47DA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF47DA#FFFFFF#000000##000000
##AF47DA1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#407AD7
Tritanopia (blue-blind)
#AB648B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af47da;
/* rgb */ color: rgb(175, 71, 218);
/* oklch */ color: oklch(60.0% 0.223 314.3);
Tailwind
colors: {
  custom: {
    50: '#cb82e6',
    500: '#af47da',
    950: '#000000',
  },
}
SCSS
$custom: #af47da;
$custom-light: #cb82e6;
$custom-dark: #000000;
JSON
{
  "hex": "#af47da",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 218
  },
  "hsl": {
    "h": 282.449,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59974,
    "c": 0.2234,
    "h": 314.3
  },
  "luminance": 0.18682
}

Semantic roles & 50–950 ramp

primary
#AF47DA
secondary
#B2DCA0
accent
#E93E70
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF47DA

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

Preview Lab → · Contrast checker → · Palette generator →

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