#AF32BD#AF32BD

#AF32BD is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.223 H 323.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AF32BD
RGBrgb(175, 50, 189)
HSLhsl(294, 58%, 47%)
HSVhsv(294, 74%, 74%)
CMYKcmyk(7.4%, 73.5%, 0%, 25.9%)
CIE-LABlab(45.73, 66.63, -47.42)
CIE-LCHlch(45.73, 81.78, 324.56°)
OKLaboklab(56.14% 0.1789 -0.1323)
OKLCHoklch(56.14% 0.223 323.5)
XYZxyz(28.0043, 15.0710, 49.5682)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF32BD #40BD32
analogous
#6A32BD #AF32BD #BD3286
triadic
#AF32BD #BDAF32 #32BDAF
tetradic
#AF32BD #BD6A32 #40BD32 #3286BD
square
#AF32BD #BD6A32 #40BD32 #3286BD
split-complementary
#AF32BD #86BD32 #32BD6A
monochromatic
#55185C #82258D #AF32BD #C759D3 #D789E0

Accessibility & contrast

On white

5.23
#AF32BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AF32BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF32BD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF32BD#FFFFFF#000000##FFFFFF
##AF32BD1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#4A71BA
Tritanopia (blue-blind)
#B24B75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af32bd;
/* rgb */ color: rgb(175, 50, 189);
/* oklch */ color: oklch(56.1% 0.223 323.5);
Tailwind
colors: {
  custom: {
    50: '#cb77d1',
    500: '#af32bd',
    950: '#000000',
  },
}
SCSS
$custom: #af32bd;
$custom-light: #cb77d1;
$custom-dark: #000000;
JSON
{
  "hex": "#af32bd",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 189
  },
  "hsl": {
    "h": 293.957,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56135,
    "c": 0.2225,
    "h": 323.5
  },
  "luminance": 0.15069
}

Semantic roles & 50–950 ramp

primary
#AF32BD
secondary
#88CA81
accent
#E14656
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF32BD

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

Preview Lab → · Contrast checker → · Palette generator →

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