#AF39C2#AF39C2

#AF39C2 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.1% C 0.219 H 321.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AF39C2
RGBrgb(175, 57, 194)
HSLhsl(292, 55%, 49%)
HSVhsv(292, 71%, 76%)
CMYKcmyk(9.8%, 70.6%, 0%, 23.9%)
CIE-LABlab(46.89, 65.05, -48.48)
CIE-LCHlch(46.89, 81.13, 323.31°)
OKLaboklab(57.06% 0.1719 -0.1355)
OKLCHoklch(57.06% 0.219 321.8)
XYZxyz(28.8789, 15.9368, 52.5835)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39C2 #4CC239
analogous
#6B39C2 #AF39C2 #C23991
triadic
#AF39C2 #C2AF39 #39C2AF
tetradic
#AF39C2 #C26B39 #4CC239 #3991C2
square
#AF39C2 #C26B39 #4CC239 #3991C2
split-complementary
#AF39C2 #91C239 #39C26B
monochromatic
#5A1D63 #842B93 #AF39C2 #C366D2 #D695E0

Accessibility & contrast

On white

5.02
#AF39C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#AF39C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39C2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39C2#FFFFFF#000000##FFFFFF
##AF39C21.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#4B74BF
Tritanopia (blue-blind)
#B1527A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af39c2;
/* rgb */ color: rgb(175, 57, 194);
/* oklch */ color: oklch(57.1% 0.219 321.8);
Tailwind
colors: {
  custom: {
    50: '#cb7ad5',
    500: '#af39c2',
    950: '#000000',
  },
}
SCSS
$custom: #af39c2;
$custom-light: #cb7ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#af39c2",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 291.679,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57058,
    "c": 0.21889,
    "h": 321.8
  },
  "luminance": 0.15935
}

Semantic roles & 50–950 ramp

primary
#AF39C2
secondary
#94CB8B
accent
#DE4A5E
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF39C2

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

Preview Lab → · Contrast checker → · Palette generator →

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