#AF41C3#AF41C3

#AF41C3 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 57.9% C 0.210 H 321.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AF41C3
RGBrgb(175, 65, 195)
HSLhsl(291, 52%, 51%)
HSVhsv(291, 67%, 76%)
CMYKcmyk(10.3%, 66.7%, 0%, 23.5%)
CIE-LABlab(48.05, 62.13, -47.21)
CIE-LCHlch(48.05, 78.03, 322.77°)
OKLaboklab(57.91% 0.1635 -0.1318)
OKLCHoklch(57.91% 0.21 321.1)
XYZxyz(29.4187, 16.8362, 53.3193)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF41C3 #55C341
analogous
#6E41C3 #AF41C3 #C34196
triadic
#AF41C3 #C3AF41 #41C3AF
tetradic
#AF41C3 #C36E41 #55C341 #4196C3
square
#AF41C3 #C36E41 #55C341 #4196C3
split-complementary
#AF41C3 #96C341 #41C36E
monochromatic
#5E2169 #873097 #AF41C3 #C370D2 #D69EE0

Accessibility & contrast

On white

4.81
#AF41C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#AF41C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF41C3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF41C3#FFFFFF#000000##FFFFFF
##AF41C31.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186AC7
Deuteranopia (green-blind)
#4F76C0
Tritanopia (blue-blind)
#B0577D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af41c3;
/* rgb */ color: rgb(175, 65, 195);
/* oklch */ color: oklch(57.9% 0.210 321.1);
Tailwind
colors: {
  custom: {
    50: '#ca7ed6',
    500: '#af41c3',
    950: '#000000',
  },
}
SCSS
$custom: #af41c3;
$custom-light: #ca7ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#af41c3",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 195
  },
  "hsl": {
    "h": 290.769,
    "s": 52,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57909,
    "c": 0.21004,
    "h": 321.1
  },
  "luminance": 0.16835
}

Semantic roles & 50–950 ramp

primary
#AF41C3
secondary
#9CCD93
accent
#DB4C62
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF41C3

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

Preview Lab → · Contrast checker → · Palette generator →

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