#AF41D9#AF41D9

#AF41D9 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.3% C 0.230 H 315.0°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#AF41D9
RGBrgb(175, 65, 217)
HSLhsl(283, 67%, 55%)
HSVhsv(283, 70%, 85%)
CMYKcmyk(19.4%, 70%, 0%, 14.9%)
CIE-LABlab(49.38, 66.35, -57.72)
CIE-LCHlch(49.38, 87.95, 318.98°)
OKLaboklab(59.29% 0.1623 -0.1626)
OKLCHoklch(59.29% 0.23 315)
XYZxyz(32.0918, 17.9054, 67.3978)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF41D9 #6BD941
analogous
#6341D9 #AF41D9 #D941B7
triadic
#AF41D9 #D9AF41 #41D9AF
tetradic
#AF41D9 #D96341 #6BD941 #41B7D9
square
#AF41D9 #D96341 #6BD941 #41B7D9
split-complementary
#AF41D9 #B7D941 #41D963
monochromatic
#681B85 #8F25B8 #AF41D9 #C474E3 #DAA7ED

Accessibility & contrast

On white

4.58
#AF41D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#AF41D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF41D9
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF41D9#FFFFFF#000000##000000
##AF41D91.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#3C78D6
Tritanopia (blue-blind)
#AC6089
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af41d9;
/* rgb */ color: rgb(175, 65, 217);
/* oklch */ color: oklch(59.3% 0.230 315.0);
Tailwind
colors: {
  custom: {
    50: '#cb7fe5',
    500: '#af41d9',
    950: '#000000',
  },
}
SCSS
$custom: #af41d9;
$custom-light: #cb7fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#af41d9",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 283.421,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59286,
    "c": 0.22973,
    "h": 315
  },
  "luminance": 0.17904
}

Semantic roles & 50–950 ramp

primary
#AF41D9
secondary
#ADDB9B
accent
#EA3E6E
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF41D9

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

Preview Lab → · Contrast checker → · Palette generator →

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