#AF41C1#AF41C1

#AF41C1 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.8% C 0.208 H 321.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AF41C1
RGBrgb(175, 65, 193)
HSLhsl(292, 51%, 51%)
HSVhsv(292, 66%, 76%)
CMYKcmyk(9.3%, 66.3%, 0%, 24.3%)
CIE-LABlab(47.94, 61.76, -46.23)
CIE-LCHlch(47.94, 77.14, 323.18°)
OKLaboklab(57.79% 0.1636 -0.1289)
OKLCHoklch(57.79% 0.208 321.7)
XYZxyz(29.1941, 16.7463, 52.1364)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF41C1 #53C141
analogous
#6F41C1 #AF41C1 #C14193
triadic
#AF41C1 #C1AF41 #41C1AF
tetradic
#AF41C1 #C16F41 #53C141 #4193C1
square
#AF41C1 #C16F41 #53C141 #4193C1
split-complementary
#AF41C1 #93C141 #41C16F
monochromatic
#5D2166 #863094 #AF41C1 #C26FD0 #D69DDF

Accessibility & contrast

On white

4.83
#AF41C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#AF41C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF41C1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF41C1#FFFFFF#000000##FFFFFF
##AF41C11.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6AC5
Deuteranopia (green-blind)
#5176BE
Tritanopia (blue-blind)
#B1577C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af41c1;
/* rgb */ color: rgb(175, 65, 193);
/* oklch */ color: oklch(57.8% 0.208 321.7);
Tailwind
colors: {
  custom: {
    50: '#ca7ed4',
    500: '#af41c1',
    950: '#000000',
  },
}
SCSS
$custom: #af41c1;
$custom-light: #ca7ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#af41c1",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 193
  },
  "hsl": {
    "h": 291.563,
    "s": 50.794,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5779,
    "c": 0.20829,
    "h": 321.7
  },
  "luminance": 0.16745
}

Semantic roles & 50–950 ramp

primary
#AF41C1
secondary
#9ACB92
accent
#DA4E61
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF41C1

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

Preview Lab → · Contrast checker → · Palette generator →

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