#AF41C2#AF41C2

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

Color values

HEX#AF41C2
RGBrgb(175, 65, 194)
HSLhsl(291, 51%, 51%)
HSVhsv(291, 66%, 76%)
CMYKcmyk(9.8%, 66.5%, 0%, 23.9%)
CIE-LABlab(48.00, 61.94, -46.72)
CIE-LCHlch(48.00, 77.59, 322.98°)
OKLaboklab(57.85% 0.1636 -0.1304)
OKLCHoklch(57.85% 0.209 321.4)
XYZxyz(29.3060, 16.7911, 52.7258)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF41C2 #54C241
analogous
#6E41C2 #AF41C2 #C24194
triadic
#AF41C2 #C2AF41 #41C2AF
tetradic
#AF41C2 #C26E41 #54C241 #4194C2
square
#AF41C2 #C26E41 #54C241 #4194C2
split-complementary
#AF41C2 #94C241 #41C26E
monochromatic
#5D2167 #873096 #AF41C2 #C36FD1 #D69EE0

Accessibility & contrast

On white

4.82
#AF41C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AF41C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF41C2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF41C2#FFFFFF#000000##FFFFFF
##AF41C21.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6AC6
Deuteranopia (green-blind)
#5076BF
Tritanopia (blue-blind)
#B1577C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af41c2;
/* rgb */ color: rgb(175, 65, 194);
/* oklch */ color: oklch(57.9% 0.209 321.4);
Tailwind
colors: {
  custom: {
    50: '#ca7ed5',
    500: '#af41c2',
    950: '#000000',
  },
}
SCSS
$custom: #af41c2;
$custom-light: #ca7ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#af41c2",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 291.163,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5785,
    "c": 0.20916,
    "h": 321.4
  },
  "luminance": 0.1679
}

Semantic roles & 50–950 ramp

primary
#AF41C2
secondary
#9BCC93
accent
#DB4D62
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF41C2

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

Preview Lab → · Contrast checker → · Palette generator →

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