#AF39BC#AF39BC

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

Color values

HEX#AF39BC
RGBrgb(175, 57, 188)
HSLhsl(294, 53%, 48%)
HSVhsv(294, 70%, 74%)
CMYKcmyk(6.9%, 69.7%, 0%, 26.3%)
CIE-LABlab(46.54, 63.98, -45.54)
CIE-LCHlch(46.54, 78.53, 324.55°)
OKLaboklab(56.69% 0.1722 -0.1269)
OKLCHoklch(56.69% 0.214 323.6)
XYZxyz(28.2186, 15.6727, 49.1060)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39BC #46BC39
analogous
#6E39BC #AF39BC #BC3987
triadic
#AF39BC #BCAF39 #39BCAF
tetradic
#AF39BC #BC6E39 #46BC39 #3987BC
square
#AF39BC #BC6E39 #46BC39 #3987BC
split-complementary
#AF39BC #87BC39 #39BC6E
monochromatic
#581D5E #832B8D #AF39BC #C563D0 #D692DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF39BC#FFFFFF#000000##FFFFFF
##AF39BC1.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)
#1065C0
Deuteranopia (green-blind)
#4F73B9
Tritanopia (blue-blind)
#B24F77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af39bc;
/* rgb */ color: rgb(175, 57, 188);
/* oklch */ color: oklch(56.7% 0.214 323.6);
Tailwind
colors: {
  custom: {
    50: '#ca7ad1',
    500: '#af39bc',
    950: '#000000',
  },
}
SCSS
$custom: #af39bc;
$custom-light: #ca7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#af39bc",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 294.046,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56695,
    "c": 0.21387,
    "h": 323.6
  },
  "luminance": 0.15671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF39BC

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

Preview Lab → · Contrast checker → · Palette generator →

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