#AF41A0#AF41A0

#AF41A0 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.0% C 0.181 H 333.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AF41A0
RGBrgb(175, 65, 160)
HSLhsl(308, 46%, 47%)
HSVhsv(308, 63%, 69%)
CMYKcmyk(0%, 62.9%, 8.6%, 31.4%)
CIE-LABlab(46.22, 56.01, -29.55)
CIE-LCHlch(46.22, 63.33, 332.19°)
OKLaboklab(55.99% 0.1616 -0.0807)
OKLCHoklch(55.99% 0.181 333.5)
XYZxyz(25.9148, 15.4346, 34.8652)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF41A0 #41AF50
analogous
#8741AF #AF41A0 #AF4169
triadic
#AF41A0 #A0AF41 #41A0AF
tetradic
#AF41A0 #AF8741 #41AF50 #4169AF
square
#AF41A0 #AF8741 #41AF50 #4169AF
split-complementary
#AF41A0 #69AF41 #41AF87
monochromatic
#56204E #823077 #AF41A0 #C667B9 #D793CE

Accessibility & contrast

On white

5.14
#AF41A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#AF41A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF41A0
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF41A0#FFFFFF#000000##FFFFFF
##AF41A01.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E63A3
Deuteranopia (green-blind)
#62739D
Tritanopia (blue-blind)
#B7496A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af41a0;
/* rgb */ color: rgb(175, 65, 160);
/* oklch */ color: oklch(56.0% 0.181 333.5);
Tailwind
colors: {
  custom: {
    50: '#ca7dbc',
    500: '#af41a0',
    950: '#000000',
  },
}
SCSS
$custom: #af41a0;
$custom-light: #ca7dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#af41a0",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 160
  },
  "hsl": {
    "h": 308.182,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55992,
    "c": 0.18062,
    "h": 333.5
  },
  "luminance": 0.15433
}

Semantic roles & 50–950 ramp

primary
#AF41A0
secondary
#89C291
accent
#D56452
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF41A0

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

Preview Lab → · Contrast checker → · Palette generator →

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