#AF33AB#AF33AB

#AF33AB is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.2% C 0.207 H 329.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AF33AB
RGBrgb(175, 51, 171)
HSLhsl(302, 55%, 44%)
HSVhsv(302, 71%, 69%)
CMYKcmyk(0%, 70.9%, 2.3%, 31.4%)
CIE-LABlab(44.83, 63.24, -38.26)
CIE-LCHlch(44.83, 73.92, 328.83°)
OKLaboklab(55.17% 0.1782 -0.1057)
OKLCHoklch(55.17% 0.207 329.3)
XYZxyz(26.2135, 14.4238, 39.9236)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF33AB #33AF37
analogous
#7533AF #AF33AB #AF336D
triadic
#AF33AB #ABAF33 #33ABAF
tetradic
#AF33AB #AF7533 #33AF37 #336DAF
square
#AF33AB #AF7533 #33AF37 #336DAF
split-complementary
#AF33AB #6DAF33 #33AF75
monochromatic
#50174E #80257D #AF33AB #CD52C9 #DB82D8

Accessibility & contrast

On white

5.41
#AF33AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AF33AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF33AB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF33AB#FFFFFF#000000##FFFFFF
##AF33AB1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235FAE
Deuteranopia (green-blind)
#5670A8
Tritanopia (blue-blind)
#B5446C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af33ab;
/* rgb */ color: rgb(175, 51, 171);
/* oklch */ color: oklch(55.2% 0.207 329.3);
Tailwind
colors: {
  custom: {
    50: '#ca76c4',
    500: '#af33ab',
    950: '#000000',
  },
}
SCSS
$custom: #af33ab;
$custom-light: #ca76c4;
$custom-dark: #000000;
JSON
{
  "hex": "#af33ab",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 301.935,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55166,
    "c": 0.20715,
    "h": 329.3
  },
  "luminance": 0.14422
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF33AB

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

Preview Lab → · Contrast checker → · Palette generator →

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