#AF37AE#AF37AE

#AF37AE is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.7% C 0.205 H 328.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AF37AE
RGBrgb(175, 55, 174)
HSLhsl(301, 52%, 45%)
HSVhsv(301, 69%, 69%)
CMYKcmyk(0%, 68.6%, 0.6%, 31.4%)
CIE-LABlab(45.50, 62.30, -38.98)
CIE-LCHlch(45.50, 73.49, 327.97°)
OKLaboklab(55.7% 0.1742 -0.1078)
OKLCHoklch(55.7% 0.205 328.2)
XYZxyz(26.6850, 14.9042, 41.5075)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF37AE #37AF38
analogous
#7437AF #AF37AE #AF3772
triadic
#AF37AE #AEAF37 #37AEAF
tetradic
#AF37AE #AF7437 #37AF38 #3772AF
square
#AF37AE #AF7437 #37AF38 #3772AF
split-complementary
#AF37AE #72AF37 #37AF74
monochromatic
#521A51 #802880 #AF37AE #CB59CA #D987D9

Accessibility & contrast

On white

5.28
#AF37AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AF37AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF37AE
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF37AE#FFFFFF#000000##FFFFFF
##AF37AE1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2562B1
Deuteranopia (green-blind)
#5671AB
Tritanopia (blue-blind)
#B5486E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af37ae;
/* rgb */ color: rgb(175, 55, 174);
/* oklch */ color: oklch(55.7% 0.205 328.2);
Tailwind
colors: {
  custom: {
    50: '#ca78c6',
    500: '#af37ae',
    950: '#000000',
  },
}
SCSS
$custom: #af37ae;
$custom-light: #ca78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af37ae",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 300.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55698,
    "c": 0.20483,
    "h": 328.2
  },
  "luminance": 0.14902
}

Semantic roles & 50–950 ramp

primary
#AF37AE
secondary
#7FC37F
accent
#DC4D4C
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF37AE

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

Preview Lab → · Contrast checker → · Palette generator →

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