#AF389F#AF389F

#AF389F is a mid, vivid purple. Relative luminance 0.144; OKLCH L 55.0% C 0.192 H 333.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AF389F
RGBrgb(175, 56, 159)
HSLhsl(308, 52%, 45%)
HSVhsv(308, 68%, 69%)
CMYKcmyk(0%, 68%, 9.1%, 31.4%)
CIE-LABlab(44.87, 59.49, -31.07)
CIE-LCHlch(44.87, 67.12, 332.42°)
OKLaboklab(54.99% 0.1721 -0.085)
OKLCHoklch(54.99% 0.192 333.7)
XYZxyz(25.3515, 14.4476, 34.2476)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF389F #38AF48
analogous
#8338AF #AF389F #AF3864
triadic
#AF389F #9FAF38 #389FAF
tetradic
#AF389F #AF8338 #38AF48 #3864AF
square
#AF389F #AF8338 #38AF48 #3864AF
split-complementary
#AF389F #64AF38 #38AF83
monochromatic
#521A4B #812975 #AF389F #CA5ABB #D988CE

Accessibility & contrast

On white

5.40
#AF389F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AF389F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF389F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF389F#FFFFFF#000000##FFFFFF
##AF389F1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355FA2
Deuteranopia (green-blind)
#5E709C
Tritanopia (blue-blind)
#B74267
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af389f;
/* rgb */ color: rgb(175, 56, 159);
/* oklch */ color: oklch(55.0% 0.192 333.7);
Tailwind
colors: {
  custom: {
    50: '#ca78bb',
    500: '#af389f',
    950: '#000000',
  },
}
SCSS
$custom: #af389f;
$custom-light: #ca78bb;
$custom-dark: #000000;
JSON
{
  "hex": "#af389f",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 159
  },
  "hsl": {
    "h": 308.067,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5499,
    "c": 0.19195,
    "h": 333.7
  },
  "luminance": 0.14446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF389F

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

Preview Lab → · Contrast checker → · Palette generator →

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