#AF37BB#AF37BB

#AF37BB is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.5% C 0.215 H 324.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AF37BB
RGBrgb(175, 55, 187)
HSLhsl(295, 55%, 47%)
HSVhsv(295, 71%, 73%)
CMYKcmyk(6.4%, 70.6%, 0%, 26.7%)
CIE-LABlab(46.23, 64.54, -45.46)
CIE-LCHlch(46.23, 78.94, 324.84°)
OKLaboklab(56.45% 0.1742 -0.1267)
OKLCHoklch(56.45% 0.215 324)
XYZxyz(28.0142, 15.4359, 48.5079)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF37BB #43BB37
analogous
#6D37BB #AF37BB #BB3785
triadic
#AF37BB #BBAF37 #37BBAF
tetradic
#AF37BB #BB6D37 #43BB37 #3785BB
square
#AF37BB #BB6D37 #43BB37 #3785BB
split-complementary
#AF37BB #85BB37 #37BB6D
monochromatic
#561B5C #83298C #AF37BB #C65FD0 #D78EDE

Accessibility & contrast

On white

5.14
#AF37BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#AF37BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF37BB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF37BB#FFFFFF#000000##FFFFFF
##AF37BB1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C64BF
Deuteranopia (green-blind)
#4E72B8
Tritanopia (blue-blind)
#B24E75
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af37bb;
/* rgb */ color: rgb(175, 55, 187);
/* oklch */ color: oklch(56.5% 0.215 324.0);
Tailwind
colors: {
  custom: {
    50: '#cb79d0',
    500: '#af37bb',
    950: '#000000',
  },
}
SCSS
$custom: #af37bb;
$custom-light: #cb79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af37bb",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 294.545,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5645,
    "c": 0.21537,
    "h": 324
  },
  "luminance": 0.15434
}

Semantic roles & 50–950 ramp

primary
#AF37BB
secondary
#8BC985
accent
#DE4A57
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF37BB

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

Preview Lab → · Contrast checker → · Palette generator →

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