#AF37BD#AF37BD

#AF37BD is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.6% C 0.217 H 323.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AF37BD
RGBrgb(175, 55, 189)
HSLhsl(294, 55%, 48%)
HSVhsv(294, 71%, 74%)
CMYKcmyk(7.4%, 70.9%, 0%, 25.9%)
CIE-LABlab(46.34, 64.89, -46.45)
CIE-LCHlch(46.34, 79.80, 324.40°)
OKLaboklab(56.57% 0.1741 -0.1295)
OKLCHoklch(56.57% 0.217 323.4)
XYZxyz(28.2298, 15.5221, 49.6434)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF37BD #45BD37
analogous
#6C37BD #AF37BD #BD3788
triadic
#AF37BD #BDAF37 #37BDAF
tetradic
#AF37BD #BD6C37 #45BD37 #3788BD
square
#AF37BD #BD6C37 #45BD37 #3788BD
split-complementary
#AF37BD #88BD37 #37BD6C
monochromatic
#571B5E #83298E #AF37BD #C560D1 #D690DF

Accessibility & contrast

On white

5.12
#AF37BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AF37BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF37BD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF37BD#FFFFFF#000000##FFFFFF
##AF37BD1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0465C1
Deuteranopia (green-blind)
#4D73BA
Tritanopia (blue-blind)
#B24E77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af37bd;
/* rgb */ color: rgb(175, 55, 189);
/* oklch */ color: oklch(56.6% 0.217 323.4);
Tailwind
colors: {
  custom: {
    50: '#cb79d1',
    500: '#af37bd',
    950: '#000000',
  },
}
SCSS
$custom: #af37bd;
$custom-light: #cb79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#af37bd",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 293.731,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5657,
    "c": 0.21702,
    "h": 323.4
  },
  "luminance": 0.1552
}

Semantic roles & 50–950 ramp

primary
#AF37BD
secondary
#8DC986
accent
#DE4A59
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF37BD

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

Preview Lab → · Contrast checker → · Palette generator →

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