#AF389D#AF389D

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

Color values

HEX#AF389D
RGBrgb(175, 56, 157)
HSLhsl(309, 52%, 45%)
HSVhsv(309, 68%, 69%)
CMYKcmyk(0%, 68%, 10.3%, 31.4%)
CIE-LABlab(44.77, 59.18, -30.03)
CIE-LCHlch(44.77, 66.36, 333.10°)
OKLaboklab(54.89% 0.1719 -0.082)
OKLCHoklch(54.89% 0.19 334.5)
XYZxyz(25.1794, 14.3787, 33.3410)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF389D #38AF4A
analogous
#8638AF #AF389D #AF3861
triadic
#AF389D #9DAF38 #389DAF
tetradic
#AF389D #AF8638 #38AF4A #3861AF
square
#AF389D #AF8638 #38AF4A #3861AF
split-complementary
#AF389D #61AF38 #38AF86
monochromatic
#521A4A #812973 #AF389D #CA5AB9 #D988CD

Accessibility & contrast

On white

5.42
#AF389D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF389D
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF389D#FFFFFF#000000##FFFFFF
##AF389D1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375FA0
Deuteranopia (green-blind)
#5F709A
Tritanopia (blue-blind)
#B74166
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af389d;
/* rgb */ color: rgb(175, 56, 157);
/* oklch */ color: oklch(54.9% 0.190 334.5);
Tailwind
colors: {
  custom: {
    50: '#ca78ba',
    500: '#af389d',
    950: '#000000',
  },
}
SCSS
$custom: #af389d;
$custom-light: #ca78ba;
$custom-dark: #000000;
JSON
{
  "hex": "#af389d",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 157
  },
  "hsl": {
    "h": 309.076,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54889,
    "c": 0.19045,
    "h": 334.5
  },
  "luminance": 0.14377
}

Semantic roles & 50–950 ramp

primary
#AF389D
secondary
#80C38A
accent
#DB624D
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF389D

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

Preview Lab → · Contrast checker → · Palette generator →

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