#AF16CD#AF16CD

#AF16CD is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.5% C 0.256 H 319.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AF16CD
RGBrgb(175, 22, 205)
HSLhsl(290, 81%, 45%)
HSVhsv(290, 89%, 80%)
CMYKcmyk(14.6%, 89.3%, 0%, 19.6%)
CIE-LABlab(44.37, 76.32, -58.91)
CIE-LCHlch(44.37, 96.41, 322.34°)
OKLaboklab(55.5% 0.1954 -0.1658)
OKLCHoklch(55.5% 0.256 319.7)
XYZxyz(28.9841, 14.0971, 58.9401)
Luminance0.1410 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF16CD #34CD16
analogous
#5416CD #AF16CD #CD1690
triadic
#AF16CD #CDAF16 #16CDAF
tetradic
#AF16CD #CD5416 #34CD16 #1690CD
square
#AF16CD #CD5416 #34CD16 #1690CD
split-complementary
#AF16CD #90CD16 #16CD54
monochromatic
#510A5E #801096 #AF16CD #CC37EA #DA6EEF

Accessibility & contrast

On white

5.50
#AF16CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AF16CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF16CD
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF16CD#FFFFFF#000000##FFFFFF
##AF16CD1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#2C6DC9
Tritanopia (blue-blind)
#AF487A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af16cd;
/* rgb */ color: rgb(175, 22, 205);
/* oklch */ color: oklch(55.5% 0.256 319.7);
Tailwind
colors: {
  custom: {
    50: '#cc6edd',
    500: '#af16cd',
    950: '#000000',
  },
}
SCSS
$custom: #af16cd;
$custom-light: #cc6edd;
$custom-dark: #000000;
JSON
{
  "hex": "#af16cd",
  "rgb": {
    "r": 175,
    "g": 22,
    "b": 205
  },
  "hsl": {
    "h": 290.164,
    "s": 80.617,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55502,
    "c": 0.25625,
    "h": 319.7
  },
  "luminance": 0.14096
}

Semantic roles & 50–950 ramp

primary
#AF16CD
secondary
#7BD569
accent
#F73151
background
#FDF7FD
surface
#FAEDFB
border
#D3C8D4
text
#140915
muted
#837B83

Preview Lab

Preview with #AF16CD

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

Preview Lab → · Contrast checker → · Palette generator →

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