#AF41BC#AF41BC

#AF41BC is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.5% C 0.204 H 323.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AF41BC
RGBrgb(175, 65, 188)
HSLhsl(294, 49%, 50%)
HSVhsv(294, 65%, 74%)
CMYKcmyk(6.9%, 65.4%, 0%, 26.3%)
CIE-LABlab(47.66, 60.84, -43.77)
CIE-LCHlch(47.66, 74.95, 324.27°)
OKLaboklab(57.5% 0.1636 -0.1218)
OKLCHoklch(57.5% 0.204 323.3)
XYZxyz(28.6457, 16.5270, 49.2484)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF41BC #4EBC41
analogous
#7241BC #AF41BC #BC418B
triadic
#AF41BC #BCAF41 #41BCAF
tetradic
#AF41BC #BC7241 #4EBC41 #418BBC
square
#AF41BC #BC7241 #4EBC41 #418BBC
split-complementary
#AF41BC #8BBC41 #41BC72
monochromatic
#5A2261 #85318F #AF41BC #C36ECD #D69BDC

Accessibility & contrast

On white

4.88
#AF41BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF41BC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF41BC#FFFFFF#000000##FFFFFF
##AF41BC1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2469C0
Deuteranopia (green-blind)
#5475B9
Tritanopia (blue-blind)
#B25579
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af41bc;
/* rgb */ color: rgb(175, 65, 188);
/* oklch */ color: oklch(57.5% 0.204 323.3);
Tailwind
colors: {
  custom: {
    50: '#ca7ed1',
    500: '#af41bc',
    950: '#000000',
  },
}
SCSS
$custom: #af41bc;
$custom-light: #ca7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#af41bc",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 293.659,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57498,
    "c": 0.20392,
    "h": 323.3
  },
  "luminance": 0.16525
}

Semantic roles & 50–950 ramp

primary
#AF41BC
secondary
#96C990
accent
#D8505E
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF41BC

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

Preview Lab → · Contrast checker → · Palette generator →

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