#AF41C0#AF41C0

#AF41C0 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.7% C 0.207 H 322.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AF41C0
RGBrgb(175, 65, 192)
HSLhsl(292, 50%, 50%)
HSVhsv(292, 66%, 75%)
CMYKcmyk(8.9%, 66.1%, 0%, 24.7%)
CIE-LABlab(47.88, 61.57, -45.74)
CIE-LCHlch(47.88, 76.70, 323.39°)
OKLaboklab(57.73% 0.1636 -0.1275)
OKLCHoklch(57.73% 0.207 322.1)
XYZxyz(29.0829, 16.7019, 51.5508)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF41C0 #52C041
analogous
#7041C0 #AF41C0 #C04191
triadic
#AF41C0 #C0AF41 #41C0AF
tetradic
#AF41C0 #C07041 #52C041 #4191C0
square
#AF41C0 #C07041 #52C041 #4191C0
split-complementary
#AF41C0 #91C041 #41C070
monochromatic
#5C2265 #863193 #AF41C0 #C26FCF #D69DDE

Accessibility & contrast

On white

4.84
#AF41C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#AF41C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF41C0
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF41C0#FFFFFF#000000##FFFFFF
##AF41C01.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6AC4
Deuteranopia (green-blind)
#5176BD
Tritanopia (blue-blind)
#B1567B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af41c0;
/* rgb */ color: rgb(175, 65, 192);
/* oklch */ color: oklch(57.7% 0.207 322.1);
Tailwind
colors: {
  custom: {
    50: '#ca7ed3',
    500: '#af41c0',
    950: '#000000',
  },
}
SCSS
$custom: #af41c0;
$custom-light: #ca7ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#af41c0",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 192
  },
  "hsl": {
    "h": 291.969,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57731,
    "c": 0.2074,
    "h": 322.1
  },
  "luminance": 0.167
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF41C0

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

Preview Lab → · Contrast checker → · Palette generator →

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