#AF37AD#AF37AD

#AF37AD is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.6% C 0.204 H 328.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AF37AD
RGBrgb(175, 55, 173)
HSLhsl(301, 52%, 45%)
HSVhsv(301, 69%, 69%)
CMYKcmyk(0%, 68.6%, 1.1%, 31.4%)
CIE-LABlab(45.45, 62.14, -38.47)
CIE-LCHlch(45.45, 73.08, 328.24°)
OKLaboklab(55.64% 0.1741 -0.1063)
OKLCHoklch(55.64% 0.204 328.6)
XYZxyz(26.5879, 14.8654, 40.9960)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF37AD #37AF39
analogous
#7537AF #AF37AD #AF3771
triadic
#AF37AD #ADAF37 #37ADAF
tetradic
#AF37AD #AF7537 #37AF39 #3771AF
square
#AF37AD #AF7537 #37AF39 #3771AF
split-complementary
#AF37AD #71AF37 #37AF75
monochromatic
#521A51 #80287F #AF37AD #CB59C9 #D987D8

Accessibility & contrast

On white

5.29
#AF37AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AF37AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF37AD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF37AD#FFFFFF#000000##FFFFFF
##AF37AD1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2761B0
Deuteranopia (green-blind)
#5771AA
Tritanopia (blue-blind)
#B5476E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af37ad;
/* rgb */ color: rgb(175, 55, 173);
/* oklch */ color: oklch(55.6% 0.204 328.6);
Tailwind
colors: {
  custom: {
    50: '#ca78c6',
    500: '#af37ad',
    950: '#000000',
  },
}
SCSS
$custom: #af37ad;
$custom-light: #ca78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af37ad",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 173
  },
  "hsl": {
    "h": 301,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55642,
    "c": 0.20402,
    "h": 328.6
  },
  "luminance": 0.14863
}

Semantic roles & 50–950 ramp

primary
#AF37AD
secondary
#7FC380
accent
#DC4F4C
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF37AD

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

Preview Lab → · Contrast checker → · Palette generator →

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