#AF46AC#AF46AC

#AF46AC is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.2% C 0.183 H 328.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AF46AC
RGBrgb(175, 70, 172)
HSLhsl(302, 43%, 48%)
HSVhsv(302, 60%, 69%)
CMYKcmyk(0%, 60%, 1.7%, 31.4%)
CIE-LABlab(47.59, 55.86, -34.50)
CIE-LCHlch(47.59, 65.66, 328.30°)
OKLaboklab(57.18% 0.1567 -0.095)
OKLCHoklch(57.18% 0.183 328.8)
XYZxyz(27.3154, 16.4746, 40.7629)
Luminance0.1647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF46AC #46AF49
analogous
#7D46AF #AF46AC #AF4677
triadic
#AF46AC #ACAF46 #46ACAF
tetradic
#AF46AC #AF7D46 #46AF49 #4677AF
square
#AF46AC #AF7D46 #46AF49 #4677AF
split-complementary
#AF46AC #77AF46 #46AF7D
monochromatic
#582356 #833581 #AF46AC #C56DC2 #D699D5

Accessibility & contrast

On white

4.89
#AF46AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#AF46AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF46AC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF46AC#FFFFFF#000000##FFFFFF
##AF46AC1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C68AF
Deuteranopia (green-blind)
#6076A9
Tritanopia (blue-blind)
#B55272
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af46ac;
/* rgb */ color: rgb(175, 70, 172);
/* oklch */ color: oklch(57.2% 0.183 328.8);
Tailwind
colors: {
  custom: {
    50: '#ca80c5',
    500: '#af46ac',
    950: '#000000',
  },
}
SCSS
$custom: #af46ac;
$custom-light: #ca80c5;
$custom-dark: #000000;
JSON
{
  "hex": "#af46ac",
  "rgb": {
    "r": 175,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 301.714,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57177,
    "c": 0.18325,
    "h": 328.8
  },
  "luminance": 0.16473
}

Semantic roles & 50–950 ramp

primary
#AF46AC
secondary
#8EC290
accent
#D35955
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #AF46AC

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

Preview Lab → · Contrast checker → · Palette generator →

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