#AF32BA#AF32BA

#AF32BA is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.0% C 0.220 H 324.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AF32BA
RGBrgb(175, 50, 186)
HSLhsl(295, 58%, 46%)
HSVhsv(295, 73%, 73%)
CMYKcmyk(5.9%, 73.1%, 0%, 27.1%)
CIE-LABlab(45.55, 66.11, -45.95)
CIE-LCHlch(45.55, 80.51, 325.20°)
OKLaboklab(55.95% 0.179 -0.128)
OKLCHoklch(55.95% 0.22 324.4)
XYZxyz(27.6820, 14.9421, 47.8709)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF32BA #3DBA32
analogous
#6B32BA #AF32BA #BA3281
triadic
#AF32BA #BAAF32 #32BAAF
tetradic
#AF32BA #BA6B32 #3DBA32 #3281BA
square
#AF32BA #BA6B32 #3DBA32 #3281BA
split-complementary
#AF32BA #81BA32 #32BA6B
monochromatic
#54185A #82258A #AF32BA #C857D2 #D888DF

Accessibility & contrast

On white

5.27
#AF32BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AF32BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF32BA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF32BA#FFFFFF#000000##FFFFFF
##AF32BA1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#4C71B7
Tritanopia (blue-blind)
#B34A74
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af32ba;
/* rgb */ color: rgb(175, 50, 186);
/* oklch */ color: oklch(56.0% 0.220 324.4);
Tailwind
colors: {
  custom: {
    50: '#cb77cf',
    500: '#af32ba',
    950: '#000000',
  },
}
SCSS
$custom: #af32ba;
$custom-light: #cb77cf;
$custom-dark: #000000;
JSON
{
  "hex": "#af32ba",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 186
  },
  "hsl": {
    "h": 295.147,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55952,
    "c": 0.22009,
    "h": 324.4
  },
  "luminance": 0.1494
}

Semantic roles & 50–950 ramp

primary
#AF32BA
secondary
#85C97F
accent
#E14753
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF32BA

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

Preview Lab → · Contrast checker → · Palette generator →

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