#AF39B4#AF39B4

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

Color values

HEX#AF39B4
RGBrgb(175, 57, 180)
HSLhsl(298, 52%, 46%)
HSVhsv(298, 68%, 71%)
CMYKcmyk(2.8%, 68.3%, 0%, 29.4%)
CIE-LABlab(46.09, 62.58, -41.58)
CIE-LCHlch(46.09, 75.13, 326.40°)
OKLaboklab(56.23% 0.1722 -0.1153)
OKLCHoklch(56.23% 0.207 326.2)
XYZxyz(27.3800, 15.3373, 44.6894)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39B4 #3EB439
analogous
#7239B4 #AF39B4 #B4397C
triadic
#AF39B4 #B4AF39 #39B4AF
tetradic
#AF39B4 #B47239 #3EB439 #397CB4
square
#AF39B4 #B47239 #3EB439 #397CB4
split-complementary
#AF39B4 #7CB439 #39B472
monochromatic
#551C57 #822A86 #AF39B4 #C85ECC #D88DDB

Accessibility & contrast

On white

5.16
#AF39B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#AF39B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39B4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39B4#FFFFFF#000000##FFFFFF
##AF39B41.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2164B8
Deuteranopia (green-blind)
#5472B1
Tritanopia (blue-blind)
#B34C72
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af39b4;
/* rgb */ color: rgb(175, 57, 180);
/* oklch */ color: oklch(56.2% 0.207 326.2);
Tailwind
colors: {
  custom: {
    50: '#ca7acb',
    500: '#af39b4',
    950: '#000000',
  },
}
SCSS
$custom: #af39b4;
$custom-light: #ca7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#af39b4",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 297.561,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56228,
    "c": 0.20725,
    "h": 326.2
  },
  "luminance": 0.15336
}

Semantic roles & 50–950 ramp

primary
#AF39B4
secondary
#86C583
accent
#DB4C52
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF39B4

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

Preview Lab → · Contrast checker → · Palette generator →

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