#AF33A9#AF33A9

#AF33A9 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.206 H 330.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AF33A9
RGBrgb(175, 51, 169)
HSLhsl(303, 55%, 44%)
HSVhsv(303, 71%, 69%)
CMYKcmyk(0%, 70.9%, 3.4%, 31.4%)
CIE-LABlab(44.73, 62.92, -37.24)
CIE-LCHlch(44.73, 73.11, 329.38°)
OKLaboklab(55.06% 0.1781 -0.1027)
OKLCHoklch(55.06% 0.206 330)
XYZxyz(26.0243, 14.3482, 38.9272)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF33A9 #33AF39
analogous
#7733AF #AF33A9 #AF336B
triadic
#AF33A9 #A9AF33 #33A9AF
tetradic
#AF33A9 #AF7733 #33AF39 #336BAF
square
#AF33A9 #AF7733 #33AF39 #336BAF
split-complementary
#AF33A9 #6BAF33 #33AF77
monochromatic
#50174D #80257B #AF33A9 #CD52C7 #DB82D6

Accessibility & contrast

On white

5.43
#AF33A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AF33A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF33A9
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF33A9#FFFFFF#000000##FFFFFF
##AF33A91.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255FAC
Deuteranopia (green-blind)
#5770A6
Tritanopia (blue-blind)
#B5436A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af33a9;
/* rgb */ color: rgb(175, 51, 169);
/* oklch */ color: oklch(55.1% 0.206 330.0);
Tailwind
colors: {
  custom: {
    50: '#ca76c3',
    500: '#af33a9',
    950: '#000000',
  },
}
SCSS
$custom: #af33a9;
$custom-light: #ca76c3;
$custom-dark: #000000;
JSON
{
  "hex": "#af33a9",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 169
  },
  "hsl": {
    "h": 302.903,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55055,
    "c": 0.20561,
    "h": 330
  },
  "luminance": 0.14346
}

Semantic roles & 50–950 ramp

primary
#AF33A9
secondary
#7AC47E
accent
#DE514A
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AF33A9

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

Preview Lab → · Contrast checker → · Palette generator →

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