#AF41BF#AF41BF

#AF41BF is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.7% C 0.207 H 322.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AF41BF
RGBrgb(175, 65, 191)
HSLhsl(292, 50%, 50%)
HSVhsv(292, 66%, 75%)
CMYKcmyk(8.4%, 66%, 0%, 25.1%)
CIE-LABlab(47.83, 61.39, -45.25)
CIE-LCHlch(47.83, 76.26, 323.61°)
OKLaboklab(57.67% 0.1636 -0.1261)
OKLCHoklch(57.67% 0.207 322.4)
XYZxyz(28.9725, 16.6577, 50.9693)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF41BF #51BF41
analogous
#7041BF #AF41BF #BF4190
triadic
#AF41BF #BFAF41 #41BFAF
tetradic
#AF41BF #BF7041 #51BF41 #4190BF
square
#AF41BF #BF7041 #51BF41 #4190BF
split-complementary
#AF41BF #90BF41 #41BF70
monochromatic
#5C2264 #853192 #AF41BF #C26FCE #D69DDE

Accessibility & contrast

On white

4.85
#AF41BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AF41BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF41BF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF41BF#FFFFFF#000000##FFFFFF
##AF41BF1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2069C3
Deuteranopia (green-blind)
#5276BC
Tritanopia (blue-blind)
#B1567B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af41bf;
/* rgb */ color: rgb(175, 65, 191);
/* oklch */ color: oklch(57.7% 0.207 322.4);
Tailwind
colors: {
  custom: {
    50: '#ca7ed3',
    500: '#af41bf',
    950: '#000000',
  },
}
SCSS
$custom: #af41bf;
$custom-light: #ca7ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#af41bf",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 292.381,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57673,
    "c": 0.20654,
    "h": 322.4
  },
  "luminance": 0.16656
}

Semantic roles & 50–950 ramp

primary
#AF41BF
secondary
#99CA92
accent
#D94F60
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF41BF

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

Preview Lab → · Contrast checker → · Palette generator →

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