#AF37B9#AF37B9

#AF37B9 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.3% C 0.214 H 324.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AF37B9
RGBrgb(175, 55, 185)
HSLhsl(295, 54%, 47%)
HSVhsv(295, 70%, 73%)
CMYKcmyk(5.4%, 70.3%, 0%, 27.5%)
CIE-LABlab(46.11, 64.19, -44.48)
CIE-LCHlch(46.11, 78.09, 325.28°)
OKLaboklab(56.33% 0.1742 -0.1238)
OKLCHoklch(56.33% 0.214 324.6)
XYZxyz(27.8016, 15.3508, 47.3882)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF37B9 #41B937
analogous
#6E37B9 #AF37B9 #B93782
triadic
#AF37B9 #B9AF37 #37B9AF
tetradic
#AF37B9 #B96E37 #41B937 #3782B9
square
#AF37B9 #B96E37 #41B937 #3782B9
split-complementary
#AF37B9 #82B937 #37B96E
monochromatic
#561B5B #82298A #AF37B9 #C65ECF #D78DDD

Accessibility & contrast

On white

5.16
#AF37B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#AF37B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF37B9
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF37B9#FFFFFF#000000##FFFFFF
##AF37B91.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1264BD
Deuteranopia (green-blind)
#5072B6
Tritanopia (blue-blind)
#B34D74
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af37b9;
/* rgb */ color: rgb(175, 55, 185);
/* oklch */ color: oklch(56.3% 0.214 324.6);
Tailwind
colors: {
  custom: {
    50: '#ca79ce',
    500: '#af37b9',
    950: '#000000',
  },
}
SCSS
$custom: #af37b9;
$custom-light: #ca79ce;
$custom-dark: #000000;
JSON
{
  "hex": "#af37b9",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 185
  },
  "hsl": {
    "h": 295.385,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56331,
    "c": 0.21372,
    "h": 324.6
  },
  "luminance": 0.15349
}

Semantic roles & 50–950 ramp

primary
#AF37B9
secondary
#89C884
accent
#DE4A56
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF37B9

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

Preview Lab → · Contrast checker → · Palette generator →

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