#AF43AC#AF43AC

#AF43AC is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.8% C 0.188 H 328.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AF43AC
RGBrgb(175, 67, 172)
HSLhsl(302, 45%, 47%)
HSVhsv(302, 62%, 69%)
CMYKcmyk(0%, 61.7%, 1.7%, 31.4%)
CIE-LABlab(47.12, 57.17, -35.25)
CIE-LCHlch(47.12, 67.16, 328.34°)
OKLaboklab(56.83% 0.1604 -0.0971)
OKLCHoklch(56.83% 0.188 328.8)
XYZxyz(27.1325, 16.1087, 40.7019)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43AC #43AF46
analogous
#7C43AF #AF43AC #AF4376
triadic
#AF43AC #ACAF43 #43ACAF
tetradic
#AF43AC #AF7C43 #43AF46 #4376AF
square
#AF43AC #AF7C43 #43AF46 #4376AF
split-complementary
#AF43AC #76AF43 #43AF7C
monochromatic
#562155 #833281 #AF43AC #C669C3 #D796D5

Accessibility & contrast

On white

4.97
#AF43AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AF43AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF43AC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43AC#FFFFFF#000000##FFFFFF
##AF43AC1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3866AF
Deuteranopia (green-blind)
#5E75A9
Tritanopia (blue-blind)
#B55071
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af43ac;
/* rgb */ color: rgb(175, 67, 172);
/* oklch */ color: oklch(56.8% 0.188 328.8);
Tailwind
colors: {
  custom: {
    50: '#ca7ec5',
    500: '#af43ac',
    950: '#000000',
  },
}
SCSS
$custom: #af43ac;
$custom-light: #ca7ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#af43ac",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 172
  },
  "hsl": {
    "h": 301.667,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56832,
    "c": 0.18753,
    "h": 328.8
  },
  "luminance": 0.16107
}

Semantic roles & 50–950 ramp

primary
#AF43AC
secondary
#8BC28D
accent
#D45753
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF43AC

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

Preview Lab → · Contrast checker → · Palette generator →

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