#AF36A1#AF36A1

#AF36A1 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.9% C 0.196 H 332.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AF36A1
RGBrgb(175, 54, 161)
HSLhsl(307, 53%, 45%)
HSVhsv(307, 69%, 69%)
CMYKcmyk(0%, 69.1%, 8%, 31.4%)
CIE-LABlab(44.70, 60.56, -32.53)
CIE-LCHlch(44.70, 68.74, 331.76°)
OKLaboklab(54.9% 0.1745 -0.0892)
OKLCHoklch(54.9% 0.196 332.9)
XYZxyz(25.4315, 14.3276, 35.1374)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF36A1 #36AF44
analogous
#8036AF #AF36A1 #AF3665
triadic
#AF36A1 #A1AF36 #36A1AF
tetradic
#AF36A1 #AF8036 #36AF44 #3665AF
square
#AF36A1 #AF8036 #36AF44 #3665AF
split-complementary
#AF36A1 #65AF36 #36AF80
monochromatic
#51194B #802876 #AF36A1 #CB57BE #DA86D0

Accessibility & contrast

On white

5.43
#AF36A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AF36A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF36A1
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF36A1#FFFFFF#000000##FFFFFF
##AF36A11.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315FA4
Deuteranopia (green-blind)
#5C709E
Tritanopia (blue-blind)
#B74167
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af36a1;
/* rgb */ color: rgb(175, 54, 161);
/* oklch */ color: oklch(54.9% 0.196 332.9);
Tailwind
colors: {
  custom: {
    50: '#ca77bd',
    500: '#af36a1',
    950: '#000000',
  },
}
SCSS
$custom: #af36a1;
$custom-light: #ca77bd;
$custom-dark: #000000;
JSON
{
  "hex": "#af36a1",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 161
  },
  "hsl": {
    "h": 306.942,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.549,
    "c": 0.19595,
    "h": 332.9
  },
  "luminance": 0.14326
}

Semantic roles & 50–950 ramp

primary
#AF36A1
secondary
#7DC386
accent
#DC5C4C
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF36A1

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

Preview Lab → · Contrast checker → · Palette generator →

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