#AF41AA#AF41AA

#AF41AA is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.5% C 0.189 H 329.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AF41AA
RGBrgb(175, 65, 170)
HSLhsl(303, 46%, 47%)
HSVhsv(303, 63%, 69%)
CMYKcmyk(0%, 62.9%, 2.9%, 31.4%)
CIE-LABlab(46.71, 57.67, -34.71)
CIE-LCHlch(46.71, 67.31, 328.96°)
OKLaboklab(56.5% 0.1627 -0.0955)
OKLCHoklch(56.5% 0.189 329.6)
XYZxyz(26.8250, 15.7987, 39.6590)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF41AA #41AF46
analogous
#7D41AF #AF41AA #AF4173
triadic
#AF41AA #AAAF41 #41AAAF
tetradic
#AF41AA #AF7D41 #41AF46 #4173AF
square
#AF41AA #AF7D41 #41AF46 #4173AF
split-complementary
#AF41AA #73AF41 #41AF7D
monochromatic
#562053 #82307F #AF41AA #C667C2 #D793D4

Accessibility & contrast

On white

5.05
#AF41AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#AF41AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF41AA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF41AA#FFFFFF#000000##FFFFFF
##AF41AA1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AD
Deuteranopia (green-blind)
#5E74A7
Tritanopia (blue-blind)
#B54D70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af41aa;
/* rgb */ color: rgb(175, 65, 170);
/* oklch */ color: oklch(56.5% 0.189 329.6);
Tailwind
colors: {
  custom: {
    50: '#ca7dc3',
    500: '#af41aa',
    950: '#000000',
  },
}
SCSS
$custom: #af41aa;
$custom-light: #ca7dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#af41aa",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 302.727,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56503,
    "c": 0.18866,
    "h": 329.6
  },
  "luminance": 0.15797
}

Semantic roles & 50–950 ramp

primary
#AF41AA
secondary
#89C28C
accent
#D55852
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF41AA

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

Preview Lab → · Contrast checker → · Palette generator →

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