#AF39AA#AF39AA

#AF39AA is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.7% C 0.199 H 329.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AF39AA
RGBrgb(175, 57, 170)
HSLhsl(303, 51%, 45%)
HSVhsv(303, 67%, 69%)
CMYKcmyk(0%, 67.4%, 2.9%, 31.4%)
CIE-LABlab(45.56, 60.89, -36.53)
CIE-LCHlch(45.56, 71.00, 329.04°)
OKLaboklab(55.67% 0.1719 -0.1007)
OKLCHoklch(55.67% 0.199 329.6)
XYZxyz(26.3978, 14.9444, 39.5166)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39AA #39AF3E
analogous
#7939AF #AF39AA #AF396F
triadic
#AF39AA #AAAF39 #39AAAF
tetradic
#AF39AA #AF7939 #39AF3E #396FAF
square
#AF39AA #AF7939 #39AF3E #396FAF
split-complementary
#AF39AA #6FAF39 #39AF79
monochromatic
#531B50 #812A7D #AF39AA #CA5BC5 #D98AD5

Accessibility & contrast

On white

5.27
#AF39AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AF39AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39AA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39AA#FFFFFF#000000##FFFFFF
##AF39AA1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D62AD
Deuteranopia (green-blind)
#5971A7
Tritanopia (blue-blind)
#B5476D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af39aa;
/* rgb */ color: rgb(175, 57, 170);
/* oklch */ color: oklch(55.7% 0.199 329.6);
Tailwind
colors: {
  custom: {
    50: '#ca79c4',
    500: '#af39aa',
    950: '#000000',
  },
}
SCSS
$custom: #af39aa;
$custom-light: #ca79c4;
$custom-dark: #000000;
JSON
{
  "hex": "#af39aa",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 170
  },
  "hsl": {
    "h": 302.542,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55669,
    "c": 0.19919,
    "h": 329.6
  },
  "luminance": 0.14942
}

Semantic roles & 50–950 ramp

primary
#AF39AA
secondary
#81C384
accent
#DA534D
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF39AA

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

Preview Lab → · Contrast checker → · Palette generator →

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