#AF41BE#AF41BE

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

Color values

HEX#AF41BE
RGBrgb(175, 65, 190)
HSLhsl(293, 49%, 50%)
HSVhsv(293, 66%, 75%)
CMYKcmyk(7.9%, 65.8%, 0%, 25.5%)
CIE-LABlab(47.77, 61.21, -44.75)
CIE-LCHlch(47.77, 75.82, 323.83°)
OKLaboklab(57.61% 0.1636 -0.1246)
OKLCHoklch(57.61% 0.206 322.7)
XYZxyz(28.8628, 16.6138, 50.3917)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF41BE #50BE41
analogous
#7041BE #AF41BE #BE418F
triadic
#AF41BE #BEAF41 #41BEAF
tetradic
#AF41BE #BE7041 #50BE41 #418FBE
square
#AF41BE #BE7041 #50BE41 #418FBE
split-complementary
#AF41BE #8FBE41 #41BE70
monochromatic
#5B2263 #853190 #AF41BE #C26FCE #D59CDD

Accessibility & contrast

On white

4.86
#AF41BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AF41BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF41BE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF41BE#FFFFFF#000000##FFFFFF
##AF41BE1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2169C2
Deuteranopia (green-blind)
#5376BB
Tritanopia (blue-blind)
#B1557A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af41be;
/* rgb */ color: rgb(175, 65, 190);
/* oklch */ color: oklch(57.6% 0.206 322.7);
Tailwind
colors: {
  custom: {
    50: '#ca7ed2',
    500: '#af41be',
    950: '#000000',
  },
}
SCSS
$custom: #af41be;
$custom-light: #ca7ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#af41be",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 190
  },
  "hsl": {
    "h": 292.8,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.57614,
    "c": 0.20565,
    "h": 322.7
  },
  "luminance": 0.16612
}

Semantic roles & 50–950 ramp

primary
#AF41BE
secondary
#98C991
accent
#D94F60
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF41BE

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

Preview Lab → · Contrast checker → · Palette generator →

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