#AF389C#AF389C

#AF389C is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.8% C 0.190 H 334.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AF389C
RGBrgb(175, 56, 156)
HSLhsl(310, 52%, 45%)
HSVhsv(310, 68%, 69%)
CMYKcmyk(0%, 68%, 10.9%, 31.4%)
CIE-LABlab(44.72, 59.02, -29.50)
CIE-LCHlch(44.72, 65.99, 333.44°)
OKLaboklab(54.84% 0.1718 -0.0805)
OKLCHoklch(54.84% 0.19 334.9)
XYZxyz(25.0944, 14.3447, 32.8932)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF389C #38AF4B
analogous
#8638AF #AF389C #AF3860
triadic
#AF389C #9CAF38 #389CAF
tetradic
#AF389C #AF8638 #38AF4B #3860AF
square
#AF389C #AF8638 #38AF4B #3860AF
split-complementary
#AF389C #60AF38 #38AF86
monochromatic
#521A49 #812973 #AF389C #CA5AB8 #D988CC

Accessibility & contrast

On white

5.43
#AF389C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AF389C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF389C
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF389C#FFFFFF#000000##FFFFFF
##AF389C1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375E9F
Deuteranopia (green-blind)
#607099
Tritanopia (blue-blind)
#B74165
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af389c;
/* rgb */ color: rgb(175, 56, 156);
/* oklch */ color: oklch(54.8% 0.190 334.9);
Tailwind
colors: {
  custom: {
    50: '#ca78b9',
    500: '#af389c',
    950: '#000000',
  },
}
SCSS
$custom: #af389c;
$custom-light: #ca78b9;
$custom-dark: #000000;
JSON
{
  "hex": "#af389c",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 156
  },
  "hsl": {
    "h": 309.58,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54838,
    "c": 0.18971,
    "h": 334.9
  },
  "luminance": 0.14343
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF389C

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

Preview Lab → · Contrast checker → · Palette generator →

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