#AF41AE#AF41AE

#AF41AE is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.7% C 0.192 H 328.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AF41AE
RGBrgb(175, 65, 174)
HSLhsl(301, 46%, 47%)
HSVhsv(301, 63%, 69%)
CMYKcmyk(0%, 62.9%, 0.6%, 31.4%)
CIE-LABlab(46.91, 58.36, -36.75)
CIE-LCHlch(46.91, 68.97, 327.80°)
OKLaboklab(56.72% 0.163 -0.1014)
OKLCHoklch(56.72% 0.192 328.1)
XYZxyz(27.2091, 15.9524, 41.6822)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF41AE #41AF42
analogous
#7941AF #AF41AE #AF4177
triadic
#AF41AE #AEAF41 #41AEAF
tetradic
#AF41AE #AF7941 #41AF42 #4177AF
square
#AF41AE #AF7941 #41AF42 #4177AF
split-complementary
#AF41AE #77AF41 #41AF79
monochromatic
#562055 #823082 #AF41AE #C667C6 #D793D6

Accessibility & contrast

On white

5.01
#AF41AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#AF41AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF41AE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF41AE#FFFFFF#000000##FFFFFF
##AF41AE1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B1
Deuteranopia (green-blind)
#5C74AB
Tritanopia (blue-blind)
#B44F72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af41ae;
/* rgb */ color: rgb(175, 65, 174);
/* oklch */ color: oklch(56.7% 0.192 328.1);
Tailwind
colors: {
  custom: {
    50: '#ca7dc6',
    500: '#af41ae',
    950: '#000000',
  },
}
SCSS
$custom: #af41ae;
$custom-light: #ca7dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#af41ae",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 174
  },
  "hsl": {
    "h": 300.545,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56716,
    "c": 0.19197,
    "h": 328.1
  },
  "luminance": 0.15951
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF41AE

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

Preview Lab → · Contrast checker → · Palette generator →

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