#AF39BD#AF39BD

#AF39BD is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.8% C 0.215 H 323.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AF39BD
RGBrgb(175, 57, 189)
HSLhsl(294, 54%, 48%)
HSVhsv(294, 70%, 74%)
CMYKcmyk(7.4%, 69.8%, 0%, 25.9%)
CIE-LABlab(46.60, 64.16, -46.04)
CIE-LCHlch(46.60, 78.96, 324.34°)
OKLaboklab(56.76% 0.1721 -0.1283)
OKLCHoklch(56.76% 0.215 323.3)
XYZxyz(28.3268, 15.7160, 49.6757)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39BD #47BD39
analogous
#6D39BD #AF39BD #BD3989
triadic
#AF39BD #BDAF39 #39BDAF
tetradic
#AF39BD #BD6D39 #47BD39 #3989BD
square
#AF39BD #BD6D39 #47BD39 #3989BD
split-complementary
#AF39BD #89BD39 #39BD6D
monochromatic
#581D5F #832B8E #AF39BD #C463D0 #D692DE

Accessibility & contrast

On white

5.07
#AF39BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AF39BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39BD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39BD#FFFFFF#000000##FFFFFF
##AF39BD1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D66C1
Deuteranopia (green-blind)
#4E73BA
Tritanopia (blue-blind)
#B25077
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af39bd;
/* rgb */ color: rgb(175, 57, 189);
/* oklch */ color: oklch(56.8% 0.215 323.3);
Tailwind
colors: {
  custom: {
    50: '#ca7ad1',
    500: '#af39bd',
    950: '#000000',
  },
}
SCSS
$custom: #af39bd;
$custom-light: #ca7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#af39bd",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 293.636,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56755,
    "c": 0.21469,
    "h": 323.3
  },
  "luminance": 0.15714
}

Semantic roles & 50–950 ramp

primary
#AF39BD
secondary
#8FC989
accent
#DD4B5A
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF39BD

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

Preview Lab → · Contrast checker → · Palette generator →

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