#AF39B0#AF39B0

#AF39B0 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.0% C 0.204 H 327.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AF39B0
RGBrgb(175, 57, 176)
HSLhsl(299, 51%, 46%)
HSVhsv(299, 68%, 69%)
CMYKcmyk(0.6%, 67.6%, 0%, 31%)
CIE-LABlab(45.88, 61.89, -39.57)
CIE-LCHlch(45.88, 73.46, 327.41°)
OKLaboklab(56% 0.1721 -0.1095)
OKLCHoklch(56% 0.204 327.5)
XYZxyz(26.9784, 15.1766, 42.5743)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39B0 #3AB039
analogous
#7339B0 #AF39B0 #B03975
triadic
#AF39B0 #B0AF39 #39B0AF
tetradic
#AF39B0 #B07339 #3AB039 #3975B0
square
#AF39B0 #B07339 #3AB039 #3975B0
split-complementary
#AF39B0 #75B039 #39B073
monochromatic
#531B54 #812A82 #AF39B0 #C95CCA #D98AD9

Accessibility & contrast

On white

5.20
#AF39B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AF39B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39B0
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39B0#FFFFFF#000000##FFFFFF
##AF39B01.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2663B3
Deuteranopia (green-blind)
#5672AD
Tritanopia (blue-blind)
#B44A70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af39b0;
/* rgb */ color: rgb(175, 57, 176);
/* oklch */ color: oklch(56.0% 0.204 327.5);
Tailwind
colors: {
  custom: {
    50: '#ca79c8',
    500: '#af39b0',
    950: '#000000',
  },
}
SCSS
$custom: #af39b0;
$custom-light: #ca79c8;
$custom-dark: #000000;
JSON
{
  "hex": "#af39b0",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 176
  },
  "hsl": {
    "h": 299.496,
    "s": 51.073,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56001,
    "c": 0.204,
    "h": 327.5
  },
  "luminance": 0.15175
}

Semantic roles & 50–950 ramp

primary
#AF39B0
secondary
#82C481
accent
#DB4D4E
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF39B0

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

Preview Lab → · Contrast checker → · Palette generator →

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