#AF39BB#AF39BB

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

Color values

HEX#AF39BB
RGBrgb(175, 57, 187)
HSLhsl(294, 53%, 48%)
HSVhsv(294, 70%, 73%)
CMYKcmyk(6.4%, 69.5%, 0%, 26.7%)
CIE-LABlab(46.48, 63.80, -45.05)
CIE-LCHlch(46.48, 78.10, 324.77°)
OKLaboklab(56.64% 0.1722 -0.1255)
OKLCHoklch(56.64% 0.213 323.9)
XYZxyz(28.1112, 15.6298, 48.5402)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39BB #45BB39
analogous
#6E39BB #AF39BB #BB3986
triadic
#AF39BB #BBAF39 #39BBAF
tetradic
#AF39BB #BB6E39 #45BB39 #3986BB
square
#AF39BB #BB6E39 #45BB39 #3986BB
split-complementary
#AF39BB #86BB39 #39BB6E
monochromatic
#571C5D #832B8C #AF39BB #C562CF #D691DD

Accessibility & contrast

On white

5.09
#AF39BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF39BB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39BB#FFFFFF#000000##FFFFFF
##AF39BB1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1365BF
Deuteranopia (green-blind)
#5073B8
Tritanopia (blue-blind)
#B24F76
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af39bb;
/* rgb */ color: rgb(175, 57, 187);
/* oklch */ color: oklch(56.6% 0.213 323.9);
Tailwind
colors: {
  custom: {
    50: '#ca7ad0',
    500: '#af39bb',
    950: '#000000',
  },
}
SCSS
$custom: #af39bb;
$custom-light: #ca7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#af39bb",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 294.462,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56636,
    "c": 0.21303,
    "h": 323.9
  },
  "luminance": 0.15628
}

Semantic roles & 50–950 ramp

primary
#AF39BB
secondary
#8DC887
accent
#DD4B59
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF39BB

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

Preview Lab → · Contrast checker → · Palette generator →

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