#AF37BE#AF37BE

#AF37BE is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.6% C 0.218 H 323.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AF37BE
RGBrgb(175, 55, 190)
HSLhsl(293, 55%, 48%)
HSVhsv(293, 71%, 75%)
CMYKcmyk(7.9%, 71.1%, 0%, 25.5%)
CIE-LABlab(46.40, 65.07, -46.94)
CIE-LCHlch(46.40, 80.23, 324.19°)
OKLaboklab(56.63% 0.1741 -0.1309)
OKLCHoklch(56.63% 0.218 323)
XYZxyz(28.3388, 15.5657, 50.2170)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF37BE #46BE37
analogous
#6B37BE #AF37BE #BE378A
triadic
#AF37BE #BEAF37 #37BEAF
tetradic
#AF37BE #BE6B37 #46BE37 #378ABE
square
#AF37BE #BE6B37 #46BE37 #378ABE
split-complementary
#AF37BE #8ABE37 #37BE6B
monochromatic
#581C5F #83298F #AF37BE #C561D1 #D690DF

Accessibility & contrast

On white

5.11
#AF37BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#AF37BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF37BE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF37BE#FFFFFF#000000##FFFFFF
##AF37BE1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#4C73BB
Tritanopia (blue-blind)
#B24F77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af37be;
/* rgb */ color: rgb(175, 55, 190);
/* oklch */ color: oklch(56.6% 0.218 323.0);
Tailwind
colors: {
  custom: {
    50: '#cb79d2',
    500: '#af37be',
    950: '#000000',
  },
}
SCSS
$custom: #af37be;
$custom-light: #cb79d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af37be",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 293.333,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5663,
    "c": 0.21784,
    "h": 323
  },
  "luminance": 0.15564
}

Semantic roles & 50–950 ramp

primary
#AF37BE
secondary
#8ECA87
accent
#DE495A
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF37BE

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

Preview Lab → · Contrast checker → · Palette generator →

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