#AF41CA#AF41CA

#AF41CA is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.3% C 0.216 H 319.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AF41CA
RGBrgb(175, 65, 202)
HSLhsl(288, 56%, 52%)
HSVhsv(288, 68%, 79%)
CMYKcmyk(13.4%, 67.8%, 0%, 20.8%)
CIE-LABlab(48.46, 63.45, -50.60)
CIE-LCHlch(48.46, 81.15, 321.43°)
OKLaboklab(58.33% 0.1633 -0.1417)
OKLCHoklch(58.33% 0.216 319.1)
XYZxyz(30.2288, 17.1602, 57.5856)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF41CA #5CCA41
analogous
#6A41CA #AF41CA #CA41A1
triadic
#AF41CA #CAAF41 #41CAAF
tetradic
#AF41CA #CA6A41 #5CCA41 #41A1CA
square
#AF41CA #CA6A41 #5CCA41 #41A1CA
split-complementary
#AF41CA #A1CA41 #41CA6A
monochromatic
#612071 #8A2DA1 #AF41CA #C371D7 #D7A1E5

Accessibility & contrast

On white

4.74
#AF41CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AF41CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF41CA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF41CA#FFFFFF#000000##FFFFFF
##AF41CA1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCE
Deuteranopia (green-blind)
#4A77C7
Tritanopia (blue-blind)
#AF5A81
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af41ca;
/* rgb */ color: rgb(175, 65, 202);
/* oklch */ color: oklch(58.3% 0.216 319.1);
Tailwind
colors: {
  custom: {
    50: '#cb7edb',
    500: '#af41ca',
    950: '#000000',
  },
}
SCSS
$custom: #af41ca;
$custom-light: #cb7edb;
$custom-dark: #000000;
JSON
{
  "hex": "#af41ca",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 288.175,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58334,
    "c": 0.21624,
    "h": 319.1
  },
  "luminance": 0.17159
}

Semantic roles & 50–950 ramp

primary
#AF41CA
secondary
#A1D196
accent
#E04866
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF41CA

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

Preview Lab → · Contrast checker → · Palette generator →

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