#AF39B1#AF39B1

#AF39B1 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.1% C 0.205 H 327.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AF39B1
RGBrgb(175, 57, 177)
HSLhsl(299, 51%, 46%)
HSVhsv(299, 68%, 69%)
CMYKcmyk(1.1%, 67.8%, 0%, 30.6%)
CIE-LABlab(45.93, 62.06, -40.07)
CIE-LCHlch(45.93, 73.87, 327.15°)
OKLaboklab(56.06% 0.1721 -0.111)
OKLCHoklch(56.06% 0.205 327.2)
XYZxyz(27.0777, 15.2164, 43.0973)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39B1 #3BB139
analogous
#7339B1 #AF39B1 #B13977
triadic
#AF39B1 #B1AF39 #39B1AF
tetradic
#AF39B1 #B17339 #3BB139 #3977B1
square
#AF39B1 #B17339 #3BB139 #3977B1
split-complementary
#AF39B1 #77B139 #39B173
monochromatic
#531B54 #812A83 #AF39B1 #C95DCB #D88BDA

Accessibility & contrast

On white

5.19
#AF39B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AF39B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39B1
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39B1#FFFFFF#000000##FFFFFF
##AF39B11.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2563B4
Deuteranopia (green-blind)
#5672AE
Tritanopia (blue-blind)
#B44A71
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af39b1;
/* rgb */ color: rgb(175, 57, 177);
/* oklch */ color: oklch(56.1% 0.205 327.2);
Tailwind
colors: {
  custom: {
    50: '#ca79c9',
    500: '#af39b1',
    950: '#000000',
  },
}
SCSS
$custom: #af39b1;
$custom-light: #ca79c9;
$custom-dark: #000000;
JSON
{
  "hex": "#af39b1",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 177
  },
  "hsl": {
    "h": 299,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56057,
    "c": 0.20481,
    "h": 327.2
  },
  "luminance": 0.15215
}

Semantic roles & 50–950 ramp

primary
#AF39B1
secondary
#83C482
accent
#DB4D4F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF39B1

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

Preview Lab → · Contrast checker → · Palette generator →

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