#AF41B9#AF41B9

#AF41B9 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.3% C 0.201 H 324.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AF41B9
RGBrgb(175, 65, 185)
HSLhsl(295, 48%, 49%)
HSVhsv(295, 65%, 73%)
CMYKcmyk(5.4%, 64.9%, 0%, 27.5%)
CIE-LABlab(47.49, 60.30, -42.28)
CIE-LCHlch(47.49, 73.64, 324.96°)
OKLaboklab(57.33% 0.1635 -0.1174)
OKLCHoklch(57.33% 0.201 324.3)
XYZxyz(28.3257, 16.3990, 47.5629)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF41B9 #4BB941
analogous
#7341B9 #AF41B9 #B94187
triadic
#AF41B9 #B9AF41 #41B9AF
tetradic
#AF41B9 #B97341 #4BB941 #4187B9
square
#AF41B9 #B97341 #4BB941 #4187B9
split-complementary
#AF41B9 #87B941 #41B973
monochromatic
#59215E #84318C #AF41B9 #C36CCB #D699DB

Accessibility & contrast

On white

4.91
#AF41B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AF41B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF41B9
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF41B9#FFFFFF#000000##FFFFFF
##AF41B91.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2868BD
Deuteranopia (green-blind)
#5675B6
Tritanopia (blue-blind)
#B25377
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af41b9;
/* rgb */ color: rgb(175, 65, 185);
/* oklch */ color: oklch(57.3% 0.201 324.3);
Tailwind
colors: {
  custom: {
    50: '#ca7ece',
    500: '#af41b9',
    950: '#000000',
  },
}
SCSS
$custom: #af41b9;
$custom-light: #ca7ece;
$custom-dark: #000000;
JSON
{
  "hex": "#af41b9",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 295,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57326,
    "c": 0.20132,
    "h": 324.3
  },
  "luminance": 0.16397
}

Semantic roles & 50–950 ramp

primary
#AF41B9
secondary
#93C78F
accent
#D8505B
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF41B9

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

Preview Lab → · Contrast checker → · Palette generator →

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