#AF41D1#AF41D1

#AF41D1 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.8% C 0.223 H 317.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AF41D1
RGBrgb(175, 65, 209)
HSLhsl(286, 61%, 54%)
HSVhsv(286, 69%, 82%)
CMYKcmyk(16.3%, 68.9%, 0%, 18%)
CIE-LABlab(48.88, 64.79, -53.95)
CIE-LCHlch(48.88, 84.31, 320.22°)
OKLaboklab(58.77% 0.163 -0.1515)
OKLCHoklch(58.77% 0.223 317.1)
XYZxyz(31.0764, 17.4993, 62.0500)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF41D1 #63D141
analogous
#6741D1 #AF41D1 #D141AB
triadic
#AF41D1 #D1AF41 #41D1AF
tetradic
#AF41D1 #D16741 #63D141 #41ABD1
square
#AF41D1 #D16741 #63D141 #41ABD1
split-complementary
#AF41D1 #ABD141 #41D167
monochromatic
#641E7A #8D29AB #AF41D1 #C472DD #D8A4E9

Accessibility & contrast

On white

4.67
#AF41D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#AF41D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF41D1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF41D1#FFFFFF#000000##FFFFFF
##AF41D11.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD5
Deuteranopia (green-blind)
#4477CE
Tritanopia (blue-blind)
#AD5D84
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af41d1;
/* rgb */ color: rgb(175, 65, 209);
/* oklch */ color: oklch(58.8% 0.223 317.1);
Tailwind
colors: {
  custom: {
    50: '#cb7ee0',
    500: '#af41d1',
    950: '#000000',
  },
}
SCSS
$custom: #af41d1;
$custom-light: #cb7ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#af41d1",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 209
  },
  "hsl": {
    "h": 285.833,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58771,
    "c": 0.22251,
    "h": 317.1
  },
  "luminance": 0.17498
}

Semantic roles & 50–950 ramp

primary
#AF41D1
secondary
#A7D698
accent
#E4446A
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF41D1

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

Preview Lab → · Contrast checker → · Palette generator →

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