#AF41D5#AF41D5

#AF41D5 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.0% C 0.226 H 316.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AF41D5
RGBrgb(175, 65, 213)
HSLhsl(285, 64%, 55%)
HSVhsv(285, 69%, 84%)
CMYKcmyk(17.8%, 69.5%, 0%, 16.5%)
CIE-LABlab(49.13, 65.57, -55.84)
CIE-LCHlch(49.13, 86.12, 319.58°)
OKLaboklab(59.03% 0.1627 -0.1571)
OKLCHoklch(59.03% 0.226 316)
XYZxyz(31.5779, 17.6999, 64.6909)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF41D5 #67D541
analogous
#6541D5 #AF41D5 #D541B1
triadic
#AF41D5 #D5AF41 #41D5AF
tetradic
#AF41D5 #D56541 #67D541 #41B1D5
square
#AF41D5 #D56541 #67D541 #41B1D5
split-complementary
#AF41D5 #B1D541 #41D565
monochromatic
#661C7F #8E27B2 #AF41D5 #C473E0 #D9A5EB

Accessibility & contrast

On white

4.63
#AF41D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#AF41D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF41D5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF41D5#FFFFFF#000000##FFFFFF
##AF41D51.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED9
Deuteranopia (green-blind)
#4078D2
Tritanopia (blue-blind)
#AD5F87
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af41d5;
/* rgb */ color: rgb(175, 65, 213);
/* oklch */ color: oklch(59.0% 0.226 316.0);
Tailwind
colors: {
  custom: {
    50: '#cb7fe3',
    500: '#af41d5',
    950: '#000000',
  },
}
SCSS
$custom: #af41d5;
$custom-light: #cb7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#af41d5",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 284.595,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59027,
    "c": 0.22611,
    "h": 316
  },
  "luminance": 0.17699
}

Semantic roles & 50–950 ramp

primary
#AF41D5
secondary
#AAD89A
accent
#E7416C
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B15
muted
#827C84

Preview Lab

Preview with #AF41D5

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

Preview Lab → · Contrast checker → · Palette generator →

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