#AF37C1#AF37C1

#AF37C1 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.8% C 0.220 H 322.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AF37C1
RGBrgb(175, 55, 193)
HSLhsl(292, 56%, 49%)
HSVhsv(292, 72%, 76%)
CMYKcmyk(9.3%, 71.5%, 0%, 24.3%)
CIE-LABlab(46.58, 65.60, -48.40)
CIE-LCHlch(46.58, 81.53, 323.58°)
OKLaboklab(56.81% 0.174 -0.1352)
OKLCHoklch(56.81% 0.22 322.1)
XYZxyz(28.6700, 15.6982, 51.9617)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF37C1 #49C137
analogous
#6A37C1 #AF37C1 #C1378E
triadic
#AF37C1 #C1AF37 #37C1AF
tetradic
#AF37C1 #C16A37 #49C137 #378EC1
square
#AF37C1 #C16A37 #49C137 #378EC1
split-complementary
#AF37C1 #8EC137 #37C16A
monochromatic
#591C62 #842991 #AF37C1 #C463D2 #D692E0

Accessibility & contrast

On white

5.07
#AF37C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AF37C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF37C1
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF37C1#FFFFFF#000000##FFFFFF
##AF37C11.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C5
Deuteranopia (green-blind)
#4A73BE
Tritanopia (blue-blind)
#B15079
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af37c1;
/* rgb */ color: rgb(175, 55, 193);
/* oklch */ color: oklch(56.8% 0.220 322.1);
Tailwind
colors: {
  custom: {
    50: '#cb79d4',
    500: '#af37c1',
    950: '#000000',
  },
}
SCSS
$custom: #af37c1;
$custom-light: #cb79d4;
$custom-dark: #000000;
JSON
{
  "hex": "#af37c1",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 193
  },
  "hsl": {
    "h": 292.174,
    "s": 55.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56813,
    "c": 0.22034,
    "h": 322.1
  },
  "luminance": 0.15697
}

Semantic roles & 50–950 ramp

primary
#AF37C1
secondary
#91CB89
accent
#DF495C
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF37C1

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

Preview Lab → · Contrast checker → · Palette generator →

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