#AF33AD#AF33AD

#AF33AD is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.3% C 0.209 H 328.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#AF33AD
RGBrgb(175, 51, 173)
HSLhsl(301, 55%, 44%)
HSVhsv(301, 71%, 69%)
CMYKcmyk(0%, 70.9%, 1.1%, 31.4%)
CIE-LABlab(44.94, 63.57, -39.27)
CIE-LCHlch(44.94, 74.72, 328.29°)
OKLaboklab(55.28% 0.1782 -0.1086)
OKLCHoklch(55.28% 0.209 328.6)
XYZxyz(26.4056, 14.5007, 40.9352)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF33AD #33AF35
analogous
#7333AF #AF33AD #AF336F
triadic
#AF33AD #ADAF33 #33ADAF
tetradic
#AF33AD #AF7333 #33AF35 #336FAF
square
#AF33AD #AF7333 #33AF35 #336FAF
split-complementary
#AF33AD #6FAF33 #33AF73
monochromatic
#50174F #80257E #AF33AD #CD52CB #DB82D9

Accessibility & contrast

On white

5.38
#AF33AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AF33AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF33AD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF33AD#FFFFFF#000000##FFFFFF
##AF33AD1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2060B0
Deuteranopia (green-blind)
#5570AA
Tritanopia (blue-blind)
#B5456D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af33ad;
/* rgb */ color: rgb(175, 51, 173);
/* oklch */ color: oklch(55.3% 0.209 328.6);
Tailwind
colors: {
  custom: {
    50: '#ca77c6',
    500: '#af33ad',
    950: '#000000',
  },
}
SCSS
$custom: #af33ad;
$custom-light: #ca77c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af33ad",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 173
  },
  "hsl": {
    "h": 300.968,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55278,
    "c": 0.2087,
    "h": 328.6
  },
  "luminance": 0.14499
}

Semantic roles & 50–950 ramp

primary
#AF33AD
secondary
#7AC47B
accent
#DE4C4A
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF33AD

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

Preview Lab → · Contrast checker → · Palette generator →

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