#AF37C0#AF37C0

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

Color values

HEX#AF37C0
RGBrgb(175, 55, 192)
HSLhsl(293, 55%, 48%)
HSVhsv(293, 71%, 75%)
CMYKcmyk(8.9%, 71.4%, 0%, 24.7%)
CIE-LABlab(46.52, 65.42, -47.92)
CIE-LCHlch(46.52, 81.09, 323.78°)
OKLaboklab(56.75% 0.174 -0.1338)
OKLCHoklch(56.75% 0.22 322.4)
XYZxyz(28.5588, 15.6537, 51.3762)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF37C0 #48C037
analogous
#6A37C0 #AF37C0 #C0378C
triadic
#AF37C0 #C0AF37 #37C0AF
tetradic
#AF37C0 #C06A37 #48C037 #378CC0
square
#AF37C0 #C06A37 #48C037 #378CC0
split-complementary
#AF37C0 #8CC037 #37C06A
monochromatic
#581C61 #842990 #AF37C0 #C462D2 #D692E0

Accessibility & contrast

On white

5.08
#AF37C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AF37C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF37C0
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF37C0#FFFFFF#000000##FFFFFF
##AF37C01.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#4B73BD
Tritanopia (blue-blind)
#B15078
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af37c0;
/* rgb */ color: rgb(175, 55, 192);
/* oklch */ color: oklch(56.8% 0.220 322.4);
Tailwind
colors: {
  custom: {
    50: '#cb79d4',
    500: '#af37c0',
    950: '#000000',
  },
}
SCSS
$custom: #af37c0;
$custom-light: #cb79d4;
$custom-dark: #000000;
JSON
{
  "hex": "#af37c0",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 192
  },
  "hsl": {
    "h": 292.555,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56752,
    "c": 0.2195,
    "h": 322.4
  },
  "luminance": 0.15652
}

Semantic roles & 50–950 ramp

primary
#AF37C0
secondary
#90CB88
accent
#DF495C
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF37C0

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

Preview Lab → · Contrast checker → · Palette generator →

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