#AF39BF#AF39BF

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

Color values

HEX#AF39BF
RGBrgb(175, 57, 191)
HSLhsl(293, 54%, 49%)
HSVhsv(293, 70%, 75%)
CMYKcmyk(8.4%, 70.2%, 0%, 25.1%)
CIE-LABlab(46.72, 64.51, -47.02)
CIE-LCHlch(46.72, 79.83, 323.92°)
OKLaboklab(56.88% 0.1721 -0.1312)
OKLCHoklch(56.88% 0.216 322.7)
XYZxyz(28.5454, 15.8034, 50.8269)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39BF #49BF39
analogous
#6C39BF #AF39BF #BF398C
triadic
#AF39BF #BFAF39 #39BFAF
tetradic
#AF39BF #BF6C39 #49BF39 #398CBF
square
#AF39BF #BF6C39 #49BF39 #398CBF
split-complementary
#AF39BF #8CBF39 #39BF6C
monochromatic
#591D61 #842B90 #AF39BF #C464D1 #D693DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF39BF#FFFFFF#000000##FFFFFF
##AF39BF1.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)
#0566C3
Deuteranopia (green-blind)
#4D73BC
Tritanopia (blue-blind)
#B15178
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af39bf;
/* rgb */ color: rgb(175, 57, 191);
/* oklch */ color: oklch(56.9% 0.216 322.7);
Tailwind
colors: {
  custom: {
    50: '#cb7ad3',
    500: '#af39bf',
    950: '#000000',
  },
}
SCSS
$custom: #af39bf;
$custom-light: #cb7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#af39bf",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 292.836,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56875,
    "c": 0.21637,
    "h": 322.7
  },
  "luminance": 0.15802
}

Semantic roles & 50–950 ramp

primary
#AF39BF
secondary
#91CA8A
accent
#DD4A5C
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF39BF

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

Preview Lab → · Contrast checker → · Palette generator →

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