#AF41C4#AF41C4

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

Color values

HEX#AF41C4
RGBrgb(175, 65, 196)
HSLhsl(290, 53%, 51%)
HSVhsv(290, 67%, 77%)
CMYKcmyk(10.7%, 66.8%, 0%, 23.1%)
CIE-LABlab(48.11, 62.31, -47.69)
CIE-LCHlch(48.11, 78.47, 322.57°)
OKLaboklab(57.97% 0.1635 -0.1332)
OKLCHoklch(57.97% 0.211 320.8)
XYZxyz(29.5321, 16.8816, 53.9168)
Luminance0.1688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF41C4 #56C441
analogous
#6D41C4 #AF41C4 #C44197
triadic
#AF41C4 #C4AF41 #41C4AF
tetradic
#AF41C4 #C46D41 #56C441 #4197C4
square
#AF41C4 #C46D41 #56C441 #4197C4
split-complementary
#AF41C4 #97C441 #41C46D
monochromatic
#5E216A #882F98 #AF41C4 #C370D3 #D69EE1

Accessibility & contrast

On white

4.80
#AF41C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#AF41C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF41C4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF41C4#FFFFFF#000000##FFFFFF
##AF41C41.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166AC8
Deuteranopia (green-blind)
#4E76C1
Tritanopia (blue-blind)
#B0587D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af41c4;
/* rgb */ color: rgb(175, 65, 196);
/* oklch */ color: oklch(58.0% 0.211 320.8);
Tailwind
colors: {
  custom: {
    50: '#ca7ed6',
    500: '#af41c4',
    950: '#000000',
  },
}
SCSS
$custom: #af41c4;
$custom-light: #ca7ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#af41c4",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 196
  },
  "hsl": {
    "h": 290.382,
    "s": 52.61,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57969,
    "c": 0.21093,
    "h": 320.8
  },
  "luminance": 0.1688
}

Semantic roles & 50–950 ramp

primary
#AF41C4
secondary
#9DCD93
accent
#DC4C63
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF41C4

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

Preview Lab → · Contrast checker → · Palette generator →

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