#AF33A1#AF33A1

#AF33A1 is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.6% C 0.200 H 332.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AF33A1
RGBrgb(175, 51, 161)
HSLhsl(307, 55%, 44%)
HSVhsv(307, 71%, 69%)
CMYKcmyk(0%, 70.9%, 8%, 31.4%)
CIE-LABlab(44.31, 61.64, -33.13)
CIE-LCHlch(44.31, 69.98, 331.74°)
OKLaboklab(54.62% 0.1777 -0.0909)
OKLCHoklch(54.62% 0.2 332.9)
XYZxyz(25.2962, 14.0569, 35.0923)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF33A1 #33AF41
analogous
#7F33AF #AF33A1 #AF3363
triadic
#AF33A1 #A1AF33 #33A1AF
tetradic
#AF33A1 #AF7F33 #33AF41 #3363AF
square
#AF33A1 #AF7F33 #33AF41 #3363AF
split-complementary
#AF33A1 #63AF33 #33AF7F
monochromatic
#50174A #802575 #AF33A1 #CD52BF #DB82D1

Accessibility & contrast

On white

5.51
#AF33A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AF33A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF33A1
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF33A1#FFFFFF#000000##FFFFFF
##AF33A11.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5DA4
Deuteranopia (green-blind)
#5B6F9E
Tritanopia (blue-blind)
#B73F66
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af33a1;
/* rgb */ color: rgb(175, 51, 161);
/* oklch */ color: oklch(54.6% 0.200 332.9);
Tailwind
colors: {
  custom: {
    50: '#ca76bd',
    500: '#af33a1',
    950: '#000000',
  },
}
SCSS
$custom: #af33a1;
$custom-light: #ca76bd;
$custom-dark: #000000;
JSON
{
  "hex": "#af33a1",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 161
  },
  "hsl": {
    "h": 306.774,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54622,
    "c": 0.19955,
    "h": 332.9
  },
  "luminance": 0.14055
}

Semantic roles & 50–950 ramp

primary
#AF33A1
secondary
#7AC482
accent
#DE5A4A
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AF33A1

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

Preview Lab → · Contrast checker → · Palette generator →

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