#AF37A3#AF37A3

#AF37A3 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 55.1% C 0.196 H 332.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AF37A3
RGBrgb(175, 55, 163)
HSLhsl(306, 52%, 45%)
HSVhsv(306, 69%, 69%)
CMYKcmyk(0%, 68.6%, 6.9%, 31.4%)
CIE-LABlab(44.93, 60.50, -33.36)
CIE-LCHlch(44.93, 69.09, 331.13°)
OKLaboklab(55.1% 0.1736 -0.0916)
OKLCHoklch(55.1% 0.196 332.2)
XYZxyz(25.6563, 14.4927, 36.0893)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF37A3 #37AF43
analogous
#7F37AF #AF37A3 #AF3767
triadic
#AF37A3 #A3AF37 #37A3AF
tetradic
#AF37A3 #AF7F37 #37AF43 #3767AF
square
#AF37A3 #AF7F37 #37AF43 #3767AF
split-complementary
#AF37A3 #67AF37 #37AF7F
monochromatic
#521A4C #802878 #AF37A3 #CB59BF #D987D1

Accessibility & contrast

On white

5.39
#AF37A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AF37A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF37A3
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF37A3#FFFFFF#000000##FFFFFF
##AF37A31.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315FA6
Deuteranopia (green-blind)
#5C70A0
Tritanopia (blue-blind)
#B64368
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af37a3;
/* rgb */ color: rgb(175, 55, 163);
/* oklch */ color: oklch(55.1% 0.196 332.2);
Tailwind
colors: {
  custom: {
    50: '#ca78be',
    500: '#af37a3',
    950: '#000000',
  },
}
SCSS
$custom: #af37a3;
$custom-light: #ca78be;
$custom-dark: #000000;
JSON
{
  "hex": "#af37a3",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 163
  },
  "hsl": {
    "h": 306,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55101,
    "c": 0.19623,
    "h": 332.2
  },
  "luminance": 0.14491
}

Semantic roles & 50–950 ramp

primary
#AF37A3
secondary
#7FC385
accent
#DC5B4C
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF37A3

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

Preview Lab → · Contrast checker → · Palette generator →

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