#AF41A3#AF41A3

#AF41A3 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.1% C 0.183 H 332.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AF41A3
RGBrgb(175, 65, 163)
HSLhsl(307, 46%, 47%)
HSVhsv(307, 63%, 69%)
CMYKcmyk(0%, 62.9%, 6.9%, 31.4%)
CIE-LABlab(46.37, 56.50, -31.11)
CIE-LCHlch(46.37, 64.50, 331.17°)
OKLaboklab(56.14% 0.162 -0.0852)
OKLCHoklch(56.14% 0.183 332.3)
XYZxyz(26.1804, 15.5409, 36.2640)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF41A3 #41AF4D
analogous
#8441AF #AF41A3 #AF416C
triadic
#AF41A3 #A3AF41 #41A3AF
tetradic
#AF41A3 #AF8441 #41AF4D #416CAF
square
#AF41A3 #AF8441 #41AF4D #416CAF
split-complementary
#AF41A3 #6CAF41 #41AF84
monochromatic
#562050 #823079 #AF41A3 #C667BC #D793D0

Accessibility & contrast

On white

5.11
#AF41A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#AF41A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF41A3
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF41A3#FFFFFF#000000##FFFFFF
##AF41A31.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C64A6
Deuteranopia (green-blind)
#6173A0
Tritanopia (blue-blind)
#B64B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af41a3;
/* rgb */ color: rgb(175, 65, 163);
/* oklch */ color: oklch(56.1% 0.183 332.3);
Tailwind
colors: {
  custom: {
    50: '#ca7dbe',
    500: '#af41a3',
    950: '#000000',
  },
}
SCSS
$custom: #af41a3;
$custom-light: #ca7dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#af41a3",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 163
  },
  "hsl": {
    "h": 306.545,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56142,
    "c": 0.18299,
    "h": 332.3
  },
  "luminance": 0.15539
}

Semantic roles & 50–950 ramp

primary
#AF41A3
secondary
#89C290
accent
#D56152
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF41A3

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

Preview Lab → · Contrast checker → · Palette generator →

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