#AF289A#AF289A

#AF289A is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.206 H 335.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AF289A
RGBrgb(175, 40, 154)
HSLhsl(309, 63%, 42%)
HSVhsv(309, 77%, 69%)
CMYKcmyk(0%, 77.1%, 12%, 31.4%)
CIE-LABlab(42.71, 64.14, -31.45)
CIE-LCHlch(42.71, 71.44, 333.88°)
OKLaboklab(53.36% 0.1876 -0.0859)
OKLCHoklch(53.36% 0.206 335.4)
XYZxyz(24.2711, 12.9669, 31.7902)
Luminance0.1296 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF289A #28AF3D
analogous
#8028AF #AF289A #AF2857
triadic
#AF289A #9AAF28 #289AAF
tetradic
#AF289A #AF8028 #28AF3D #2857AF
square
#AF289A #AF8028 #28AF3D #2857AF
split-complementary
#AF289A #57AF28 #28AF80
monochromatic
#4B1142 #7D1D6E #AF289A #D441BD #DF73CE

Accessibility & contrast

On white

5.84
#AF289A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AF289A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF289A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF289A#FFFFFF#000000##FFFFFF
##AF289A1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28589D
Deuteranopia (green-blind)
#5A6C97
Tritanopia (blue-blind)
#B8345F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af289a;
/* rgb */ color: rgb(175, 40, 154);
/* oklch */ color: oklch(53.4% 0.206 335.4);
Tailwind
colors: {
  custom: {
    50: '#cb71b8',
    500: '#af289a',
    950: '#000000',
  },
}
SCSS
$custom: #af289a;
$custom-light: #cb71b8;
$custom-dark: #000000;
JSON
{
  "hex": "#af289a",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 309.333,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53355,
    "c": 0.20638,
    "h": 335.4
  },
  "luminance": 0.12965
}

Semantic roles & 50–950 ramp

primary
#AF289A
secondary
#6DC67B
accent
#E65B42
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF289A

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

Preview Lab → · Contrast checker → · Palette generator →

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