#AF39B3#AF39B3

#AF39B3 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.2% C 0.206 H 326.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AF39B3
RGBrgb(175, 57, 179)
HSLhsl(298, 52%, 46%)
HSVhsv(298, 68%, 70%)
CMYKcmyk(2.2%, 68.2%, 0%, 29.8%)
CIE-LABlab(46.04, 62.41, -41.07)
CIE-LCHlch(46.04, 74.71, 326.65°)
OKLaboklab(56.17% 0.1722 -0.1139)
OKLCHoklch(56.17% 0.206 326.5)
XYZxyz(27.2785, 15.2967, 44.1549)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39B3 #3DB339
analogous
#7239B3 #AF39B3 #B3397A
triadic
#AF39B3 #B3AF39 #39B3AF
tetradic
#AF39B3 #B37239 #3DB339 #397AB3
square
#AF39B3 #B37239 #3DB339 #397AB3
split-complementary
#AF39B3 #7AB339 #39B372
monochromatic
#541B56 #822A85 #AF39B3 #C85ECC #D88CDA

Accessibility & contrast

On white

5.17
#AF39B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AF39B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39B3
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39B3#FFFFFF#000000##FFFFFF
##AF39B31.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2263B6
Deuteranopia (green-blind)
#5572B0
Tritanopia (blue-blind)
#B44B72
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af39b3;
/* rgb */ color: rgb(175, 57, 179);
/* oklch */ color: oklch(56.2% 0.206 326.5);
Tailwind
colors: {
  custom: {
    50: '#ca7aca',
    500: '#af39b3',
    950: '#000000',
  },
}
SCSS
$custom: #af39b3;
$custom-light: #ca7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#af39b3",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 298.033,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56171,
    "c": 0.20644,
    "h": 326.5
  },
  "luminance": 0.15295
}

Semantic roles & 50–950 ramp

primary
#AF39B3
secondary
#85C583
accent
#DB4D51
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF39B3

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

Preview Lab → · Contrast checker → · Palette generator →

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