#AF41CC#AF41CC

#AF41CC is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.5% C 0.218 H 318.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AF41CC
RGBrgb(175, 65, 204)
HSLhsl(287, 58%, 53%)
HSVhsv(287, 68%, 80%)
CMYKcmyk(14.2%, 68.1%, 0%, 20%)
CIE-LABlab(48.58, 63.83, -51.56)
CIE-LCHlch(48.58, 82.05, 321.07°)
OKLaboklab(58.46% 0.1633 -0.1445)
OKLCHoklch(58.46% 0.218 318.5)
XYZxyz(30.4671, 17.2555, 58.8408)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF41CC #5ECC41
analogous
#6941CC #AF41CC #CC41A3
triadic
#AF41CC #CCAF41 #41CCAF
tetradic
#AF41CC #CC6941 #5ECC41 #41A3CC
square
#AF41CC #CC6941 #5ECC41 #41A3CC
split-complementary
#AF41CC #A3CC41 #41CC69
monochromatic
#621F74 #8B2CA4 #AF41CC #C371D9 #D8A1E6

Accessibility & contrast

On white

4.72
#AF41CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#AF41CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF41CC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF41CC#FFFFFF#000000##FFFFFF
##AF41CC1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#4877C9
Tritanopia (blue-blind)
#AF5B82
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af41cc;
/* rgb */ color: rgb(175, 65, 204);
/* oklch */ color: oklch(58.5% 0.218 318.5);
Tailwind
colors: {
  custom: {
    50: '#cb7edc',
    500: '#af41cc',
    950: '#000000',
  },
}
SCSS
$custom: #af41cc;
$custom-light: #cb7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#af41cc",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 287.482,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58458,
    "c": 0.21804,
    "h": 318.5
  },
  "luminance": 0.17254
}

Semantic roles & 50–950 ramp

primary
#AF41CC
secondary
#A3D396
accent
#E14767
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF41CC

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

Preview Lab → · Contrast checker → · Palette generator →

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