#AF41CF#AF41CF

#AF41CF is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.6% C 0.221 H 317.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AF41CF
RGBrgb(175, 65, 207)
HSLhsl(286, 60%, 53%)
HSVhsv(286, 69%, 81%)
CMYKcmyk(15.5%, 68.6%, 0%, 18.8%)
CIE-LABlab(48.76, 64.40, -53.00)
CIE-LCHlch(48.76, 83.40, 320.55°)
OKLaboklab(58.65% 0.1631 -0.1487)
OKLCHoklch(58.65% 0.221 317.6)
XYZxyz(30.8304, 17.4009, 60.7541)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF41CF #61CF41
analogous
#6841CF #AF41CF #CF41A8
triadic
#AF41CF #CFAF41 #41CFAF
tetradic
#AF41CF #CF6841 #61CF41 #41A8CF
square
#AF41CF #CF6841 #61CF41 #41A8CF
split-complementary
#AF41CF #A8CF41 #41CF68
monochromatic
#631E77 #8C2BA8 #AF41CF #C472DB #D8A3E8

Accessibility & contrast

On white

4.69
#AF41CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#AF41CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF41CF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF41CF#FFFFFF#000000##FFFFFF
##AF41CF1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#4677CC
Tritanopia (blue-blind)
#AE5C83
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af41cf;
/* rgb */ color: rgb(175, 65, 207);
/* oklch */ color: oklch(58.6% 0.221 317.6);
Tailwind
colors: {
  custom: {
    50: '#cb7ede',
    500: '#af41cf',
    950: '#000000',
  },
}
SCSS
$custom: #af41cf;
$custom-light: #cb7ede;
$custom-dark: #000000;
JSON
{
  "hex": "#af41cf",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 286.479,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58645,
    "c": 0.22072,
    "h": 317.6
  },
  "luminance": 0.174
}

Semantic roles & 50–950 ramp

primary
#AF41CF
secondary
#A5D497
accent
#E34569
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF41CF

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

Preview Lab → · Contrast checker → · Palette generator →

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