#AF39C1#AF39C1

#AF39C1 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.0% C 0.218 H 322.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AF39C1
RGBrgb(175, 57, 193)
HSLhsl(292, 54%, 49%)
HSVhsv(292, 70%, 76%)
CMYKcmyk(9.3%, 70.5%, 0%, 24.3%)
CIE-LABlab(46.83, 64.87, -47.99)
CIE-LCHlch(46.83, 80.70, 323.51°)
OKLaboklab(57% 0.172 -0.134)
OKLCHoklch(57% 0.218 322.1)
XYZxyz(28.7669, 15.8921, 51.9940)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39C1 #4BC139
analogous
#6B39C1 #AF39C1 #C1398F
triadic
#AF39C1 #C1AF39 #39C1AF
tetradic
#AF39C1 #C16B39 #4BC139 #398FC1
square
#AF39C1 #C16B39 #4BC139 #398FC1
split-complementary
#AF39C1 #8FC139 #39C16B
monochromatic
#591D63 #842B92 #AF39C1 #C366D2 #D695E0

Accessibility & contrast

On white

5.03
#AF39C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AF39C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39C1
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39C1#FFFFFF#000000##FFFFFF
##AF39C11.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C5
Deuteranopia (green-blind)
#4B73BE
Tritanopia (blue-blind)
#B15179
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af39c1;
/* rgb */ color: rgb(175, 57, 193);
/* oklch */ color: oklch(57.0% 0.218 322.1);
Tailwind
colors: {
  custom: {
    50: '#cb7ad4',
    500: '#af39c1',
    950: '#000000',
  },
}
SCSS
$custom: #af39c1;
$custom-light: #cb7ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#af39c1",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 193
  },
  "hsl": {
    "h": 292.059,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56997,
    "c": 0.21805,
    "h": 322.1
  },
  "luminance": 0.1589
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF39C1

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

Preview Lab → · Contrast checker → · Palette generator →

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