#AF429F#AF429F

#AF429F is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.1% C 0.178 H 333.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AF429F
RGBrgb(175, 66, 159)
HSLhsl(309, 45%, 47%)
HSVhsv(309, 62%, 69%)
CMYKcmyk(0%, 62.3%, 9.1%, 31.4%)
CIE-LABlab(46.33, 55.42, -28.78)
CIE-LCHlch(46.33, 62.45, 332.56°)
OKLaboklab(56.06% 0.1602 -0.0785)
OKLCHoklch(56.06% 0.178 333.9)
XYZxyz(25.8855, 15.5156, 34.4256)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF429F #42AF52
analogous
#8842AF #AF429F #AF4269
triadic
#AF429F #9FAF42 #429FAF
tetradic
#AF429F #AF8842 #42AF52 #4269AF
square
#AF429F #AF8842 #42AF52 #4269AF
split-complementary
#AF429F #69AF42 #42AF88
monochromatic
#56204E #833177 #AF429F #C668B8 #D795CD

Accessibility & contrast

On white

5.12
#AF429F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AF429F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF429F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF429F#FFFFFF#000000##FFFFFF
##AF429F1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4064A2
Deuteranopia (green-blind)
#63749C
Tritanopia (blue-blind)
#B74A6A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af429f;
/* rgb */ color: rgb(175, 66, 159);
/* oklch */ color: oklch(56.1% 0.178 333.9);
Tailwind
colors: {
  custom: {
    50: '#ca7dbb',
    500: '#af429f',
    950: '#000000',
  },
}
SCSS
$custom: #af429f;
$custom-light: #ca7dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#af429f",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 159
  },
  "hsl": {
    "h": 308.807,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56056,
    "c": 0.17841,
    "h": 333.9
  },
  "luminance": 0.15514
}

Semantic roles & 50–950 ramp

primary
#AF429F
secondary
#8AC293
accent
#D56653
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF429F

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

Preview Lab → · Contrast checker → · Palette generator →

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