#AF429E#AF429E

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

Color values

HEX#AF429E
RGBrgb(175, 66, 158)
HSLhsl(309, 45%, 47%)
HSVhsv(309, 62%, 69%)
CMYKcmyk(0%, 62.3%, 9.7%, 31.4%)
CIE-LABlab(46.29, 55.26, -28.26)
CIE-LCHlch(46.29, 62.07, 332.92°)
OKLaboklab(56.01% 0.1601 -0.077)
OKLCHoklch(56.01% 0.178 334.3)
XYZxyz(25.7991, 15.4810, 33.9705)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF429E #42AF53
analogous
#8A42AF #AF429E #AF4267
triadic
#AF429E #9EAF42 #429EAF
tetradic
#AF429E #AF8A42 #42AF53 #4267AF
square
#AF429E #AF8A42 #42AF53 #4267AF
split-complementary
#AF429E #67AF42 #42AF8A
monochromatic
#56204E #833176 #AF429E #C668B7 #D795CD

Accessibility & contrast

On white

5.13
#AF429E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF429E
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF429E#FFFFFF#000000##FFFFFF
##AF429E1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4163A1
Deuteranopia (green-blind)
#64739B
Tritanopia (blue-blind)
#B74A6A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af429e;
/* rgb */ color: rgb(175, 66, 158);
/* oklch */ color: oklch(56.0% 0.178 334.3);
Tailwind
colors: {
  custom: {
    50: '#ca7dbb',
    500: '#af429e',
    950: '#000000',
  },
}
SCSS
$custom: #af429e;
$custom-light: #ca7dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#af429e",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 158
  },
  "hsl": {
    "h": 309.358,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56007,
    "c": 0.17764,
    "h": 334.3
  },
  "luminance": 0.15479
}

Semantic roles & 50–950 ramp

primary
#AF429E
secondary
#8AC293
accent
#D56753
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF429E

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

Preview Lab → · Contrast checker → · Palette generator →

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