#AF43A2#AF43A2

#AF43A2 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.3% C 0.179 H 332.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AF43A2
RGBrgb(175, 67, 162)
HSLhsl(307, 45%, 47%)
HSVhsv(307, 62%, 69%)
CMYKcmyk(0%, 61.7%, 7.4%, 31.4%)
CIE-LABlab(46.63, 55.48, -30.10)
CIE-LCHlch(46.63, 63.12, 331.52°)
OKLaboklab(56.32% 0.1594 -0.0823)
OKLCHoklch(56.32% 0.179 332.7)
XYZxyz(26.2080, 15.7389, 35.8330)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43A2 #43AF50
analogous
#8643AF #AF43A2 #AF436C
triadic
#AF43A2 #A2AF43 #43A2AF
tetradic
#AF43A2 #AF8643 #43AF50 #436CAF
square
#AF43A2 #AF8643 #43AF50 #436CAF
split-complementary
#AF43A2 #6CAF43 #43AF86
monochromatic
#562150 #833279 #AF43A2 #C669BB #D796CF

Accessibility & contrast

On white

5.06
#AF43A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AF43A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF43A2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43A2#FFFFFF#000000##FFFFFF
##AF43A21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F65A5
Deuteranopia (green-blind)
#62749F
Tritanopia (blue-blind)
#B64C6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af43a2;
/* rgb */ color: rgb(175, 67, 162);
/* oklch */ color: oklch(56.3% 0.179 332.7);
Tailwind
colors: {
  custom: {
    50: '#ca7ebe',
    500: '#af43a2',
    950: '#000000',
  },
}
SCSS
$custom: #af43a2;
$custom-light: #ca7ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#af43a2",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 162
  },
  "hsl": {
    "h": 307.222,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56319,
    "c": 0.17934,
    "h": 332.7
  },
  "luminance": 0.15737
}

Semantic roles & 50–950 ramp

primary
#AF43A2
secondary
#8BC292
accent
#D46353
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF43A2

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

Preview Lab → · Contrast checker → · Palette generator →

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