#AF39CE#AF39CE

#AF39CE is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.8% C 0.229 H 318.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AF39CE
RGBrgb(175, 57, 206)
HSLhsl(288, 60%, 52%)
HSVhsv(288, 72%, 81%)
CMYKcmyk(15%, 72.3%, 0%, 19.2%)
CIE-LABlab(47.62, 67.27, -54.25)
CIE-LCHlch(47.62, 86.42, 321.11°)
OKLaboklab(57.81% 0.1711 -0.1524)
OKLCHoklch(57.81% 0.229 318.3)
XYZxyz(30.2814, 16.4978, 59.9699)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39CE #58CE39
analogous
#6539CE #AF39CE #CE39A3
triadic
#AF39CE #CEAF39 #39CEAF
tetradic
#AF39CE #CE6539 #58CE39 #39A3CE
square
#AF39CE #CE6539 #58CE39 #39A3CE
split-complementary
#AF39CE #A3CE39 #39CE65
monochromatic
#5F1C71 #8828A2 #AF39CE #C36ADA #D79BE6

Accessibility & contrast

On white

4.88
#AF39CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AF39CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39CE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39CE#FFFFFF#000000##FFFFFF
##AF39CE1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#4075CB
Tritanopia (blue-blind)
#AE5781
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af39ce;
/* rgb */ color: rgb(175, 57, 206);
/* oklch */ color: oklch(57.8% 0.229 318.3);
Tailwind
colors: {
  custom: {
    50: '#cb7bde',
    500: '#af39ce',
    950: '#000000',
  },
}
SCSS
$custom: #af39ce;
$custom-light: #cb7bde;
$custom-dark: #000000;
JSON
{
  "hex": "#af39ce",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 287.517,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57811,
    "c": 0.22911,
    "h": 318.3
  },
  "luminance": 0.16496
}

Semantic roles & 50–950 ramp

primary
#AF39CE
secondary
#9ED291
accent
#E34465
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF39CE

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

Preview Lab → · Contrast checker → · Palette generator →

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