#AF41AD#AF41AD

#AF41AD is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.7% C 0.191 H 328.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AF41AD
RGBrgb(175, 65, 173)
HSLhsl(301, 46%, 47%)
HSVhsv(301, 63%, 69%)
CMYKcmyk(0%, 62.9%, 1.1%, 31.4%)
CIE-LABlab(46.86, 58.19, -36.24)
CIE-LCHlch(46.86, 68.55, 328.08°)
OKLaboklab(56.66% 0.1629 -0.0999)
OKLCHoklch(56.66% 0.191 328.5)
XYZxyz(27.1120, 15.9135, 41.1707)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF41AD #41AF43
analogous
#7A41AF #AF41AD #AF4176
triadic
#AF41AD #ADAF41 #41ADAF
tetradic
#AF41AD #AF7A41 #41AF43 #4176AF
square
#AF41AD #AF7A41 #41AF43 #4176AF
split-complementary
#AF41AD #76AF41 #41AF7A
monochromatic
#562055 #823081 #AF41AD #C667C5 #D793D6

Accessibility & contrast

On white

5.02
#AF41AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AF41AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF41AD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF41AD#FFFFFF#000000##FFFFFF
##AF41AD1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3566B0
Deuteranopia (green-blind)
#5C74AA
Tritanopia (blue-blind)
#B54F71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af41ad;
/* rgb */ color: rgb(175, 65, 173);
/* oklch */ color: oklch(56.7% 0.191 328.5);
Tailwind
colors: {
  custom: {
    50: '#ca7dc6',
    500: '#af41ad',
    950: '#000000',
  },
}
SCSS
$custom: #af41ad;
$custom-light: #ca7dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#af41ad",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 173
  },
  "hsl": {
    "h": 301.091,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56663,
    "c": 0.19114,
    "h": 328.5
  },
  "luminance": 0.15912
}

Semantic roles & 50–950 ramp

primary
#AF41AD
secondary
#89C28A
accent
#D55552
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF41AD

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

Preview Lab → · Contrast checker → · Palette generator →

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