#AF39D3#AF39D3

#AF39D3 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.1% C 0.233 H 317.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AF39D3
RGBrgb(175, 57, 211)
HSLhsl(286, 64%, 53%)
HSVhsv(286, 73%, 83%)
CMYKcmyk(17.1%, 73%, 0%, 17.3%)
CIE-LABlab(47.94, 68.21, -56.61)
CIE-LCHlch(47.94, 88.64, 320.31°)
OKLaboklab(58.14% 0.1706 -0.1593)
OKLCHoklch(58.14% 0.233 317)
XYZxyz(30.8984, 16.7447, 63.2198)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39D3 #5DD339
analogous
#6239D3 #AF39D3 #D339AA
triadic
#AF39D3 #D3AF39 #39D3AF
tetradic
#AF39D3 #D36239 #5DD339 #39AAD3
square
#AF39D3 #D36239 #5DD339 #39AAD3
split-complementary
#AF39D3 #AAD339 #39D362
monochromatic
#611A77 #8A26A9 #AF39D3 #C36BDE #D79DE9

Accessibility & contrast

On white

4.83
#AF39D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#AF39D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39D3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39D3#FFFFFF#000000##FFFFFF
##AF39D31.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD7
Deuteranopia (green-blind)
#3B75D0
Tritanopia (blue-blind)
#AD5983
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af39d3;
/* rgb */ color: rgb(175, 57, 211);
/* oklch */ color: oklch(58.1% 0.233 317.0);
Tailwind
colors: {
  custom: {
    50: '#cb7be1',
    500: '#af39d3',
    950: '#000000',
  },
}
SCSS
$custom: #af39d3;
$custom-light: #cb7be1;
$custom-dark: #000000;
JSON
{
  "hex": "#af39d3",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 211
  },
  "hsl": {
    "h": 285.974,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58137,
    "c": 0.23341,
    "h": 317
  },
  "luminance": 0.16743
}

Semantic roles & 50–950 ramp

primary
#AF39D3
secondary
#A2D592
accent
#E74168
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #AF39D3

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

Preview Lab → · Contrast checker → · Palette generator →

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