#AF41BB#AF41BB

#AF41BB is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.4% C 0.203 H 323.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AF41BB
RGBrgb(175, 65, 187)
HSLhsl(294, 48%, 49%)
HSVhsv(294, 65%, 73%)
CMYKcmyk(6.4%, 65.2%, 0%, 26.7%)
CIE-LABlab(47.60, 60.66, -43.27)
CIE-LCHlch(47.60, 74.51, 324.50°)
OKLaboklab(57.44% 0.1636 -0.1203)
OKLCHoklch(57.44% 0.203 323.7)
XYZxyz(28.5383, 16.4840, 48.6826)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF41BB #4DBB41
analogous
#7241BB #AF41BB #BB418A
triadic
#AF41BB #BBAF41 #41BBAF
tetradic
#AF41BB #BB7241 #4DBB41 #418ABB
square
#AF41BB #BB7241 #4DBB41 #418ABB
split-complementary
#AF41BB #8ABB41 #41BB72
monochromatic
#5A2160 #85318E #AF41BB #C36DCC #D69ADC

Accessibility & contrast

On white

4.89
#AF41BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AF41BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF41BB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF41BB#FFFFFF#000000##FFFFFF
##AF41BB1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2669BF
Deuteranopia (green-blind)
#5475B8
Tritanopia (blue-blind)
#B25479
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af41bb;
/* rgb */ color: rgb(175, 65, 187);
/* oklch */ color: oklch(57.4% 0.203 323.7);
Tailwind
colors: {
  custom: {
    50: '#ca7ed0',
    500: '#af41bb',
    950: '#000000',
  },
}
SCSS
$custom: #af41bb;
$custom-light: #ca7ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#af41bb",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 294.098,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5744,
    "c": 0.20305,
    "h": 323.7
  },
  "luminance": 0.16482
}

Semantic roles & 50–950 ramp

primary
#AF41BB
secondary
#95C890
accent
#D8505D
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF41BB

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

Preview Lab → · Contrast checker → · Palette generator →

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