#AF33A2#AF33A2

#AF33A2 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.7% C 0.200 H 332.5°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AF33A2
RGBrgb(175, 51, 162)
HSLhsl(306, 55%, 44%)
HSVhsv(306, 71%, 69%)
CMYKcmyk(0%, 70.9%, 7.4%, 31.4%)
CIE-LABlab(44.37, 61.80, -33.65)
CIE-LCHlch(44.37, 70.37, 331.43°)
OKLaboklab(54.68% 0.1777 -0.0924)
OKLCHoklch(54.68% 0.2 332.5)
XYZxyz(25.3847, 14.0923, 35.5585)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF33A2 #33AF40
analogous
#7E33AF #AF33A2 #AF3364
triadic
#AF33A2 #A2AF33 #33A2AF
tetradic
#AF33A2 #AF7E33 #33AF40 #3364AF
square
#AF33A2 #AF7E33 #33AF40 #3364AF
split-complementary
#AF33A2 #64AF33 #33AF7E
monochromatic
#50174A #802576 #AF33A2 #CD52C0 #DB82D1

Accessibility & contrast

On white

5.50
#AF33A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AF33A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF33A2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF33A2#FFFFFF#000000##FFFFFF
##AF33A21.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA5
Deuteranopia (green-blind)
#5B6F9F
Tritanopia (blue-blind)
#B74067
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af33a2;
/* rgb */ color: rgb(175, 51, 162);
/* oklch */ color: oklch(54.7% 0.200 332.5);
Tailwind
colors: {
  custom: {
    50: '#ca76be',
    500: '#af33a2',
    950: '#000000',
  },
}
SCSS
$custom: #af33a2;
$custom-light: #ca76be;
$custom-dark: #000000;
JSON
{
  "hex": "#af33a2",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 306.29,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54675,
    "c": 0.2003,
    "h": 332.5
  },
  "luminance": 0.1409
}

Semantic roles & 50–950 ramp

primary
#AF33A2
secondary
#7AC482
accent
#DE594A
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AF33A2

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

Preview Lab → · Contrast checker → · Palette generator →

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