#AF41C5#AF41C5

#AF41C5 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.0% C 0.212 H 320.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AF41C5
RGBrgb(175, 65, 197)
HSLhsl(290, 53%, 51%)
HSVhsv(290, 67%, 77%)
CMYKcmyk(11.2%, 67%, 0%, 22.7%)
CIE-LABlab(48.17, 62.50, -48.18)
CIE-LCHlch(48.17, 78.92, 322.37°)
OKLaboklab(58.03% 0.1635 -0.1346)
OKLCHoklch(58.03% 0.212 320.5)
XYZxyz(29.6463, 16.9272, 54.5182)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF41C5 #57C541
analogous
#6D41C5 #AF41C5 #C54199
triadic
#AF41C5 #C5AF41 #41C5AF
tetradic
#AF41C5 #C56D41 #57C541 #4199C5
square
#AF41C5 #C56D41 #57C541 #4199C5
split-complementary
#AF41C5 #99C541 #41C56D
monochromatic
#5F216B #882F9A #AF41C5 #C370D3 #D69FE2

Accessibility & contrast

On white

4.79
#AF41C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AF41C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF41C5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF41C5#FFFFFF#000000##FFFFFF
##AF41C51.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136BC9
Deuteranopia (green-blind)
#4E76C2
Tritanopia (blue-blind)
#B0587E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af41c5;
/* rgb */ color: rgb(175, 65, 197);
/* oklch */ color: oklch(58.0% 0.212 320.5);
Tailwind
colors: {
  custom: {
    50: '#ca7ed7',
    500: '#af41c5',
    950: '#000000',
  },
}
SCSS
$custom: #af41c5;
$custom-light: #ca7ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#af41c5",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 290,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58029,
    "c": 0.21181,
    "h": 320.5
  },
  "luminance": 0.16926
}

Semantic roles & 50–950 ramp

primary
#AF41C5
secondary
#9ECE94
accent
#DD4B63
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF41C5

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

Preview Lab → · Contrast checker → · Palette generator →

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