#AF389E#AF389E

#AF389E is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.9% C 0.191 H 334.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AF389E
RGBrgb(175, 56, 158)
HSLhsl(309, 52%, 45%)
HSVhsv(309, 68%, 69%)
CMYKcmyk(0%, 68%, 9.7%, 31.4%)
CIE-LABlab(44.82, 59.33, -30.55)
CIE-LCHlch(44.82, 66.74, 332.76°)
OKLaboklab(54.94% 0.172 -0.0835)
OKLCHoklch(54.94% 0.191 334.1)
XYZxyz(25.2651, 14.4130, 33.7925)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF389E #38AF49
analogous
#8438AF #AF389E #AF3863
triadic
#AF389E #9EAF38 #389EAF
tetradic
#AF389E #AF8438 #38AF49 #3863AF
square
#AF389E #AF8438 #38AF49 #3863AF
split-complementary
#AF389E #63AF38 #38AF84
monochromatic
#521A4A #812974 #AF389E #CA5ABA #D988CE

Accessibility & contrast

On white

5.41
#AF389E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AF389E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF389E
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF389E#FFFFFF#000000##FFFFFF
##AF389E1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365FA1
Deuteranopia (green-blind)
#5F709B
Tritanopia (blue-blind)
#B74166
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af389e;
/* rgb */ color: rgb(175, 56, 158);
/* oklch */ color: oklch(54.9% 0.191 334.1);
Tailwind
colors: {
  custom: {
    50: '#ca78bb',
    500: '#af389e',
    950: '#000000',
  },
}
SCSS
$custom: #af389e;
$custom-light: #ca78bb;
$custom-dark: #000000;
JSON
{
  "hex": "#af389e",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 158
  },
  "hsl": {
    "h": 308.571,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54939,
    "c": 0.1912,
    "h": 334.1
  },
  "luminance": 0.14411
}

Semantic roles & 50–950 ramp

primary
#AF389E
secondary
#80C389
accent
#DB614D
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF389E

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

Preview Lab → · Contrast checker → · Palette generator →

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