#AF39C0#AF39C0

#AF39C0 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.9% C 0.217 H 322.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AF39C0
RGBrgb(175, 57, 192)
HSLhsl(292, 54%, 49%)
HSVhsv(292, 70%, 75%)
CMYKcmyk(8.9%, 70.3%, 0%, 24.7%)
CIE-LABlab(46.77, 64.69, -47.50)
CIE-LCHlch(46.77, 80.26, 323.71°)
OKLaboklab(56.94% 0.172 -0.1326)
OKLCHoklch(56.94% 0.217 322.4)
XYZxyz(28.6558, 15.8476, 51.4085)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39C0 #4AC039
analogous
#6B39C0 #AF39C0 #C0398E
triadic
#AF39C0 #C0AF39 #39C0AF
tetradic
#AF39C0 #C06B39 #4AC039 #398EC0
square
#AF39C0 #C06B39 #4AC039 #398EC0
split-complementary
#AF39C0 #8EC039 #39C06B
monochromatic
#591D62 #842B91 #AF39C0 #C465D1 #D694DF

Accessibility & contrast

On white

5.04
#AF39C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AF39C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39C0
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39C0#FFFFFF#000000##FFFFFF
##AF39C01.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0166C4
Deuteranopia (green-blind)
#4C73BD
Tritanopia (blue-blind)
#B15179
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af39c0;
/* rgb */ color: rgb(175, 57, 192);
/* oklch */ color: oklch(56.9% 0.217 322.4);
Tailwind
colors: {
  custom: {
    50: '#cb7ad4',
    500: '#af39c0',
    950: '#000000',
  },
}
SCSS
$custom: #af39c0;
$custom-light: #cb7ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#af39c0",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 192
  },
  "hsl": {
    "h": 292.444,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56936,
    "c": 0.21722,
    "h": 322.4
  },
  "luminance": 0.15846
}

Semantic roles & 50–950 ramp

primary
#AF39C0
secondary
#92CB8A
accent
#DE4A5D
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF39C0

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

Preview Lab → · Contrast checker → · Palette generator →

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