#AF41BA#AF41BA

#AF41BA is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.4% C 0.202 H 324.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AF41BA
RGBrgb(175, 65, 186)
HSLhsl(295, 48%, 49%)
HSVhsv(295, 65%, 73%)
CMYKcmyk(5.9%, 65.1%, 0%, 27.1%)
CIE-LABlab(47.55, 60.48, -42.78)
CIE-LCHlch(47.55, 74.08, 324.73°)
OKLaboklab(57.38% 0.1635 -0.1189)
OKLCHoklch(57.38% 0.202 324)
XYZxyz(28.4316, 16.4414, 48.1208)
Luminance0.1644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF41BA #4CBA41
analogous
#7241BA #AF41BA #BA4189
triadic
#AF41BA #BAAF41 #41BAAF
tetradic
#AF41BA #BA7241 #4CBA41 #4189BA
square
#AF41BA #BA7241 #4CBA41 #4189BA
split-complementary
#AF41BA #89BA41 #41BA72
monochromatic
#5A215F #84318D #AF41BA #C36CCC #D69ADC

Accessibility & contrast

On white

4.90
#AF41BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#AF41BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF41BA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF41BA#FFFFFF#000000##FFFFFF
##AF41BA1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2768BE
Deuteranopia (green-blind)
#5575B7
Tritanopia (blue-blind)
#B25478
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af41ba;
/* rgb */ color: rgb(175, 65, 186);
/* oklch */ color: oklch(57.4% 0.202 324.0);
Tailwind
colors: {
  custom: {
    50: '#ca7ecf',
    500: '#af41ba',
    950: '#000000',
  },
}
SCSS
$custom: #af41ba;
$custom-light: #ca7ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#af41ba",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 294.545,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57383,
    "c": 0.20218,
    "h": 324
  },
  "luminance": 0.1644
}

Semantic roles & 50–950 ramp

primary
#AF41BA
secondary
#94C88F
accent
#D8505C
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF41BA

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

Preview Lab → · Contrast checker → · Palette generator →

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