#AF32DB#AF32DB

#AF32DB is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 58.1% C 0.247 H 315.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AF32DB
RGBrgb(175, 50, 219)
HSLhsl(284, 70%, 53%)
HSVhsv(284, 77%, 86%)
CMYKcmyk(20.1%, 77.2%, 0%, 14.1%)
CIE-LABlab(47.64, 72.09, -61.67)
CIE-LCHlch(47.64, 94.87, 319.45°)
OKLaboklab(58.09% 0.1756 -0.1741)
OKLCHoklch(58.09% 0.247 315.2)
XYZxyz(31.6039, 16.5108, 68.5262)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF32DB #5EDB32
analogous
#5B32DB #AF32DB #DB32B2
triadic
#AF32DB #DBAF32 #32DBAF
tetradic
#AF32DB #DB5B32 #5EDB32 #32B2DB
square
#AF32DB #DB5B32 #5EDB32 #32B2DB
split-complementary
#AF32DB #B2DB32 #32DB5B
monochromatic
#62167D #8B1FB1 #AF32DB #C366E4 #D89AED

Accessibility & contrast

On white

4.88
#AF32DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AF32DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF32DB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF32DB#FFFFFF#000000##FFFFFF
##AF32DB1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#2A74D7
Tritanopia (blue-blind)
#AB5986
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af32db;
/* rgb */ color: rgb(175, 50, 219);
/* oklch */ color: oklch(58.1% 0.247 315.2);
Tailwind
colors: {
  custom: {
    50: '#cc78e7',
    500: '#af32db',
    950: '#000000',
  },
}
SCSS
$custom: #af32db;
$custom-light: #cc78e7;
$custom-dark: #000000;
JSON
{
  "hex": "#af32db",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 219
  },
  "hsl": {
    "h": 284.379,
    "s": 70.124,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58092,
    "c": 0.24723,
    "h": 315.2
  },
  "luminance": 0.1651
}

Semantic roles & 50–950 ramp

primary
#AF32DB
secondary
#A3D990
accent
#ED3B69
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #AF32DB

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

Preview Lab → · Contrast checker → · Palette generator →

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