#AF39D0#AF39D0

#AF39D0 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.9% C 0.231 H 317.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AF39D0
RGBrgb(175, 57, 208)
HSLhsl(287, 62%, 52%)
HSVhsv(287, 73%, 82%)
CMYKcmyk(15.9%, 72.6%, 0%, 18.4%)
CIE-LABlab(47.75, 67.64, -55.20)
CIE-LCHlch(47.75, 87.31, 320.78°)
OKLaboklab(57.94% 0.1709 -0.1551)
OKLCHoklch(57.94% 0.231 317.8)
XYZxyz(30.5259, 16.5956, 61.2576)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39D0 #5AD039
analogous
#6339D0 #AF39D0 #D039A6
triadic
#AF39D0 #D0AF39 #39D0AF
tetradic
#AF39D0 #D06339 #5AD039 #39A6D0
square
#AF39D0 #D06339 #5AD039 #39A6D0
split-complementary
#AF39D0 #A6D039 #39D063
monochromatic
#601B73 #8927A5 #AF39D0 #C36ADC #D79CE7

Accessibility & contrast

On white

4.86
#AF39D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AF39D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39D0
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39D0#FFFFFF#000000##FFFFFF
##AF39D01.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD4
Deuteranopia (green-blind)
#3E75CD
Tritanopia (blue-blind)
#AE5882
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af39d0;
/* rgb */ color: rgb(175, 57, 208);
/* oklch */ color: oklch(57.9% 0.231 317.8);
Tailwind
colors: {
  custom: {
    50: '#cb7bdf',
    500: '#af39d0',
    950: '#000000',
  },
}
SCSS
$custom: #af39d0;
$custom-light: #cb7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#af39d0",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 208
  },
  "hsl": {
    "h": 286.887,
    "s": 61.633,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57941,
    "c": 0.23083,
    "h": 317.8
  },
  "luminance": 0.16594
}

Semantic roles & 50–950 ramp

primary
#AF39D0
secondary
#A0D391
accent
#E54366
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #AF39D0

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

Preview Lab → · Contrast checker → · Palette generator →

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