#AF13BB#AF13BB

#AF13BB is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 54.2% C 0.245 H 324.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AF13BB
RGBrgb(175, 19, 187)
HSLhsl(296, 82%, 40%)
HSVhsv(296, 90%, 73%)
CMYKcmyk(6.4%, 89.8%, 0%, 26.7%)
CIE-LABlab(43.02, 73.81, -50.60)
CIE-LCHlch(43.02, 89.49, 325.57°)
OKLaboklab(54.18% 0.1997 -0.1414)
OKLCHoklch(54.18% 0.245 324.7)
XYZxyz(26.8810, 13.1694, 48.1302)
Luminance0.1317 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF13BB #1FBB13
analogous
#5B13BB #AF13BB #BB1373
triadic
#AF13BB #BBAF13 #13BBAF
tetradic
#AF13BB #BB5B13 #1FBB13 #1373BB
square
#AF13BB #BB5B13 #1FBB13 #1373BB
split-complementary
#AF13BB #73BB13 #13BB5B
monochromatic
#47084C #7B0D83 #AF13BB #DA23E9 #E45AEE

Accessibility & contrast

On white

5.78
#AF13BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AF13BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF13BB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF13BB#FFFFFF#000000##FFFFFF
##AF13BB1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#3F6BB8
Tritanopia (blue-blind)
#B33C6F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af13bb;
/* rgb */ color: rgb(175, 19, 187);
/* oklch */ color: oklch(54.2% 0.245 324.7);
Tailwind
colors: {
  custom: {
    50: '#cc6dd0',
    500: '#af13bb',
    950: '#000000',
  },
}
SCSS
$custom: #af13bb;
$custom-light: #cc6dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#af13bb",
  "rgb": {
    "r": 175,
    "g": 19,
    "b": 187
  },
  "hsl": {
    "h": 295.714,
    "s": 81.553,
    "l": 40.392
  },
  "oklch": {
    "l": 0.54177,
    "c": 0.24468,
    "h": 324.7
  },
  "luminance": 0.13168
}

Semantic roles & 50–950 ramp

primary
#AF13BB
secondary
#61D158
accent
#F8303E
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140814
muted
#837B82

Preview Lab

Preview with #AF13BB

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

Preview Lab → · Contrast checker → · Palette generator →

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