#AF50A3#AF50A3

#AF50A3 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.0% C 0.160 H 332.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AF50A3
RGBrgb(175, 80, 163)
HSLhsl(308, 37%, 50%)
HSVhsv(308, 54%, 69%)
CMYKcmyk(0%, 54.3%, 6.9%, 31.4%)
CIE-LABlab(48.88, 49.67, -27.18)
CIE-LCHlch(48.88, 56.62, 331.31°)
OKLaboklab(57.99% 0.1422 -0.0741)
OKLCHoklch(57.99% 0.16 332.5)
XYZxyz(27.1587, 17.4975, 36.5901)
Luminance0.1750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF50A3 #50AF5C
analogous
#8C50AF #AF50A3 #AF5073
triadic
#AF50A3 #A3AF50 #50A3AF
tetradic
#AF50A3 #AF8C50 #50AF5C #5073AF
square
#AF50A3 #AF8C50 #50AF5C #5073AF
split-complementary
#AF50A3 #73AF50 #50AF8C
monochromatic
#5B2A55 #853D7C #AF50A3 #C27AB9 #D5A4CF

Accessibility & contrast

On white

4.67
#AF50A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#AF50A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF50A3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF50A3#FFFFFF#000000##FFFFFF
##AF50A31.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6CA6
Deuteranopia (green-blind)
#6A79A0
Tritanopia (blue-blind)
#B65772
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af50a3;
/* rgb */ color: rgb(175, 80, 163);
/* oklch */ color: oklch(58.0% 0.160 332.5);
Tailwind
colors: {
  custom: {
    50: '#c985be',
    500: '#af50a3',
    950: '#000000',
  },
}
SCSS
$custom: #af50a3;
$custom-light: #c985be;
$custom-dark: #000000;
JSON
{
  "hex": "#af50a3",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 163
  },
  "hsl": {
    "h": 307.579,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.57986,
    "c": 0.16032,
    "h": 332.5
  },
  "luminance": 0.17496
}

Semantic roles & 50–950 ramp

primary
#AF50A3
secondary
#98C39D
accent
#CD695B
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AF50A3

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

Preview Lab → · Contrast checker → · Palette generator →

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