#AF41BD#AF41BD

#AF41BD is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.6% C 0.205 H 323.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AF41BD
RGBrgb(175, 65, 189)
HSLhsl(293, 49%, 50%)
HSVhsv(293, 66%, 74%)
CMYKcmyk(7.4%, 65.6%, 0%, 25.9%)
CIE-LABlab(47.71, 61.02, -44.26)
CIE-LCHlch(47.71, 75.38, 324.05°)
OKLaboklab(57.56% 0.1636 -0.1232)
OKLCHoklch(57.56% 0.205 323)
XYZxyz(28.7539, 16.5703, 49.8181)
Luminance0.1657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF41BD #4FBD41
analogous
#7141BD #AF41BD #BD418D
triadic
#AF41BD #BDAF41 #41BDAF
tetradic
#AF41BD #BD7141 #4FBD41 #418DBD
square
#AF41BD #BD7141 #4FBD41 #418DBD
split-complementary
#AF41BD #8DBD41 #41BD71
monochromatic
#5B2262 #85318F #AF41BD #C26ECD #D59CDD

Accessibility & contrast

On white

4.87
#AF41BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#AF41BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF41BD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF41BD#FFFFFF#000000##FFFFFF
##AF41BD1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2369C1
Deuteranopia (green-blind)
#5376BA
Tritanopia (blue-blind)
#B2557A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af41bd;
/* rgb */ color: rgb(175, 65, 189);
/* oklch */ color: oklch(57.6% 0.205 323.0);
Tailwind
colors: {
  custom: {
    50: '#ca7ed1',
    500: '#af41bd',
    950: '#000000',
  },
}
SCSS
$custom: #af41bd;
$custom-light: #ca7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#af41bd",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 293.226,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57556,
    "c": 0.20479,
    "h": 323
  },
  "luminance": 0.16569
}

Semantic roles & 50–950 ramp

primary
#AF41BD
secondary
#97C991
accent
#D84F5F
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF41BD

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

Preview Lab → · Contrast checker → · Palette generator →

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