#AF33A4#AF33A4

#AF33A4 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.8% C 0.202 H 331.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AF33A4
RGBrgb(175, 51, 164)
HSLhsl(305, 55%, 44%)
HSVhsv(305, 71%, 69%)
CMYKcmyk(0%, 70.9%, 6.3%, 31.4%)
CIE-LABlab(44.47, 62.12, -34.68)
CIE-LCHlch(44.47, 71.14, 330.82°)
OKLaboklab(54.78% 0.1779 -0.0953)
OKLCHoklch(54.78% 0.202 331.8)
XYZxyz(25.5639, 14.1640, 36.5023)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF33A4 #33AF3E
analogous
#7C33AF #AF33A4 #AF3366
triadic
#AF33A4 #A4AF33 #33A4AF
tetradic
#AF33A4 #AF7C33 #33AF3E #3366AF
square
#AF33A4 #AF7C33 #33AF3E #3366AF
split-complementary
#AF33A4 #66AF33 #33AF7C
monochromatic
#50174B #802578 #AF33A4 #CD52C2 #DB82D3

Accessibility & contrast

On white

5.48
#AF33A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AF33A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF33A4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF33A4#FFFFFF#000000##FFFFFF
##AF33A41.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5EA7
Deuteranopia (green-blind)
#5A6FA1
Tritanopia (blue-blind)
#B64068
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af33a4;
/* rgb */ color: rgb(175, 51, 164);
/* oklch */ color: oklch(54.8% 0.202 331.8);
Tailwind
colors: {
  custom: {
    50: '#ca76bf',
    500: '#af33a4',
    950: '#000000',
  },
}
SCSS
$custom: #af33a4;
$custom-light: #ca76bf;
$custom-dark: #000000;
JSON
{
  "hex": "#af33a4",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 164
  },
  "hsl": {
    "h": 305.323,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54782,
    "c": 0.2018,
    "h": 331.8
  },
  "luminance": 0.14162
}

Semantic roles & 50–950 ramp

primary
#AF33A4
secondary
#7AC481
accent
#DE574A
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AF33A4

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

Preview Lab → · Contrast checker → · Palette generator →

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