#AF39AF#AF39AF

#AF39AF is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 55.9% C 0.203 H 327.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AF39AF
RGBrgb(175, 57, 175)
HSLhsl(300, 51%, 45%)
HSVhsv(300, 67%, 69%)
CMYKcmyk(0%, 67.4%, 0%, 31.4%)
CIE-LABlab(45.82, 61.72, -39.06)
CIE-LCHlch(45.82, 73.05, 327.67°)
OKLaboklab(55.95% 0.1721 -0.108)
OKLCHoklch(55.95% 0.203 327.9)
XYZxyz(26.8798, 15.1372, 42.0551)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39AF #39AF39
analogous
#7439AF #AF39AF #AF3974
triadic
#AF39AF #AFAF39 #39AFAF
tetradic
#AF39AF #AF7439 #39AF39 #3974AF
square
#AF39AF #AF7439 #39AF39 #3974AF
split-complementary
#AF39AF #74AF39 #39AF74
monochromatic
#531B53 #812A81 #AF39AF #CA5BCA #D98AD9

Accessibility & contrast

On white

5.21
#AF39AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AF39AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39AF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39AF#FFFFFF#000000##FFFFFF
##AF39AF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2763B2
Deuteranopia (green-blind)
#5772AC
Tritanopia (blue-blind)
#B44A70
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af39af;
/* rgb */ color: rgb(175, 57, 175);
/* oklch */ color: oklch(55.9% 0.203 327.9);
Tailwind
colors: {
  custom: {
    50: '#ca79c7',
    500: '#af39af',
    950: '#000000',
  },
}
SCSS
$custom: #af39af;
$custom-light: #ca79c7;
$custom-dark: #000000;
JSON
{
  "hex": "#af39af",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 300,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55945,
    "c": 0.20319,
    "h": 327.9
  },
  "luminance": 0.15135
}

Semantic roles & 50–950 ramp

primary
#AF39AF
secondary
#81C381
accent
#DA4D4D
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF39AF

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

Preview Lab → · Contrast checker → · Palette generator →

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