#AF43AE#AF43AE

#AF43AE is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.9% C 0.189 H 328.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AF43AE
RGBrgb(175, 67, 174)
HSLhsl(301, 45%, 47%)
HSVhsv(301, 62%, 69%)
CMYKcmyk(0%, 61.7%, 0.6%, 31.4%)
CIE-LABlab(47.22, 57.51, -36.27)
CIE-LCHlch(47.22, 67.99, 327.76°)
OKLaboklab(56.94% 0.1606 -0.1)
OKLCHoklch(56.94% 0.189 328.1)
XYZxyz(27.3260, 16.1861, 41.7211)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43AE #43AF44
analogous
#7A43AF #AF43AE #AF4378
triadic
#AF43AE #AEAF43 #43AEAF
tetradic
#AF43AE #AF7A43 #43AF44 #4378AF
square
#AF43AE #AF7A43 #43AF44 #4378AF
split-complementary
#AF43AE #78AF43 #43AF7A
monochromatic
#562156 #833282 #AF43AE #C669C5 #D796D6

Accessibility & contrast

On white

4.96
#AF43AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AF43AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF43AE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43AE#FFFFFF#000000##FFFFFF
##AF43AE1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3767B1
Deuteranopia (green-blind)
#5D75AB
Tritanopia (blue-blind)
#B45072
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af43ae;
/* rgb */ color: rgb(175, 67, 174);
/* oklch */ color: oklch(56.9% 0.189 328.1);
Tailwind
colors: {
  custom: {
    50: '#ca7ec6',
    500: '#af43ae',
    950: '#000000',
  },
}
SCSS
$custom: #af43ae;
$custom-light: #ca7ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#af43ae",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 174
  },
  "hsl": {
    "h": 300.556,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56938,
    "c": 0.18921,
    "h": 328.1
  },
  "luminance": 0.16184
}

Semantic roles & 50–950 ramp

primary
#AF43AE
secondary
#8BC28C
accent
#D45553
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF43AE

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

Preview Lab → · Contrast checker → · Palette generator →

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