#AF39C4#AF39C4

#AF39C4 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.2% C 0.221 H 321.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AF39C4
RGBrgb(175, 57, 196)
HSLhsl(291, 55%, 50%)
HSVhsv(291, 71%, 77%)
CMYKcmyk(10.7%, 70.9%, 0%, 23.1%)
CIE-LABlab(47.01, 65.42, -49.45)
CIE-LCHlch(47.01, 82.00, 322.91°)
OKLaboklab(57.18% 0.1718 -0.1383)
OKLCHoklch(57.18% 0.221 321.2)
XYZxyz(29.1050, 16.0273, 53.7744)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39C4 #4EC439
analogous
#6939C4 #AF39C4 #C43994
triadic
#AF39C4 #C4AF39 #39C4AF
tetradic
#AF39C4 #C46939 #4EC439 #3994C4
square
#AF39C4 #C46939 #4EC439 #3994C4
split-complementary
#AF39C4 #94C439 #39C469
monochromatic
#5A1D65 #852B95 #AF39C4 #C367D3 #D697E1

Accessibility & contrast

On white

4.99
#AF39C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#AF39C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39C4
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39C4#FFFFFF#000000##FFFFFF
##AF39C41.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#4974C1
Tritanopia (blue-blind)
#B0537B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af39c4;
/* rgb */ color: rgb(175, 57, 196);
/* oklch */ color: oklch(57.2% 0.221 321.2);
Tailwind
colors: {
  custom: {
    50: '#cb7ad6',
    500: '#af39c4',
    950: '#000000',
  },
}
SCSS
$custom: #af39c4;
$custom-light: #cb7ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#af39c4",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 196
  },
  "hsl": {
    "h": 290.935,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57181,
    "c": 0.22058,
    "h": 321.2
  },
  "luminance": 0.16026
}

Semantic roles & 50–950 ramp

primary
#AF39C4
secondary
#96CC8D
accent
#DE4A60
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF39C4

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

Preview Lab → · Contrast checker → · Palette generator →

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