#AF33AC#AF33AC

#AF33AC is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.2% C 0.208 H 329.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AF33AC
RGBrgb(175, 51, 172)
HSLhsl(301, 55%, 44%)
HSVhsv(301, 71%, 69%)
CMYKcmyk(0%, 70.9%, 1.7%, 31.4%)
CIE-LABlab(44.89, 63.41, -38.77)
CIE-LCHlch(44.89, 74.32, 328.56°)
OKLaboklab(55.22% 0.1782 -0.1071)
OKLCHoklch(55.22% 0.208 329)
XYZxyz(26.3092, 14.4621, 40.4275)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF33AC #33AF36
analogous
#7433AF #AF33AC #AF336E
triadic
#AF33AC #ACAF33 #33ACAF
tetradic
#AF33AC #AF7433 #33AF36 #336EAF
square
#AF33AC #AF7433 #33AF36 #336EAF
split-complementary
#AF33AC #6EAF33 #33AF74
monochromatic
#50174F #80257D #AF33AC #CD52CA #DB82D8

Accessibility & contrast

On white

5.40
#AF33AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AF33AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF33AC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF33AC#FFFFFF#000000##FFFFFF
##AF33AC1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2260AF
Deuteranopia (green-blind)
#5570A9
Tritanopia (blue-blind)
#B5446C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af33ac;
/* rgb */ color: rgb(175, 51, 172);
/* oklch */ color: oklch(55.2% 0.208 329.0);
Tailwind
colors: {
  custom: {
    50: '#ca77c5',
    500: '#af33ac',
    950: '#000000',
  },
}
SCSS
$custom: #af33ac;
$custom-light: #ca77c5;
$custom-dark: #000000;
JSON
{
  "hex": "#af33ac",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 301.452,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55222,
    "c": 0.20792,
    "h": 329
  },
  "luminance": 0.1446
}

Semantic roles & 50–950 ramp

primary
#AF33AC
secondary
#7AC47C
accent
#DE4D4A
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF33AC

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

Preview Lab → · Contrast checker → · Palette generator →

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