#AF37C3#AF37C3

#AF37C3 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.9% C 0.222 H 321.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AF37C3
RGBrgb(175, 55, 195)
HSLhsl(291, 56%, 49%)
HSVhsv(291, 72%, 76%)
CMYKcmyk(10.3%, 71.8%, 0%, 23.5%)
CIE-LABlab(46.70, 65.96, -49.37)
CIE-LCHlch(46.70, 82.39, 323.18°)
OKLaboklab(56.94% 0.1739 -0.1381)
OKLCHoklch(56.94% 0.222 321.5)
XYZxyz(28.8946, 15.7880, 53.1446)
Luminance0.1579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF37C3 #4BC337
analogous
#6937C3 #AF37C3 #C33791
triadic
#AF37C3 #C3AF37 #37C3AF
tetradic
#AF37C3 #C36937 #4BC337 #3791C3
square
#AF37C3 #C36937 #4BC337 #3791C3
split-complementary
#AF37C3 #91C337 #37C369
monochromatic
#591C64 #842A93 #AF37C3 #C364D3 #D694E1

Accessibility & contrast

On white

5.05
#AF37C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#AF37C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF37C3
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF37C3#FFFFFF#000000##FFFFFF
##AF37C31.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#4973C0
Tritanopia (blue-blind)
#B1517A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af37c3;
/* rgb */ color: rgb(175, 55, 195);
/* oklch */ color: oklch(56.9% 0.222 321.5);
Tailwind
colors: {
  custom: {
    50: '#cb79d6',
    500: '#af37c3',
    950: '#000000',
  },
}
SCSS
$custom: #af37c3;
$custom-light: #cb79d6;
$custom-dark: #000000;
JSON
{
  "hex": "#af37c3",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 291.429,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56937,
    "c": 0.222,
    "h": 321.5
  },
  "luminance": 0.15786
}

Semantic roles & 50–950 ramp

primary
#AF37C3
secondary
#93CC8A
accent
#DF495E
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF37C3

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

Preview Lab → · Contrast checker → · Palette generator →

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