#AF33A5#AF33A5

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

Color values

HEX#AF33A5
RGBrgb(175, 51, 165)
HSLhsl(305, 55%, 44%)
HSVhsv(305, 71%, 69%)
CMYKcmyk(0%, 70.9%, 5.7%, 31.4%)
CIE-LABlab(44.52, 62.27, -35.20)
CIE-LCHlch(44.52, 71.53, 330.52°)
OKLaboklab(54.84% 0.1779 -0.0968)
OKLCHoklch(54.84% 0.203 331.4)
XYZxyz(25.6545, 14.2003, 36.9798)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF33A5 #33AF3D
analogous
#7B33AF #AF33A5 #AF3367
triadic
#AF33A5 #A5AF33 #33A5AF
tetradic
#AF33A5 #AF7B33 #33AF3D #3367AF
square
#AF33A5 #AF7B33 #33AF3D #3367AF
split-complementary
#AF33A5 #67AF33 #33AF7B
monochromatic
#50174C #802578 #AF33A5 #CD52C3 #DB82D3

Accessibility & contrast

On white

5.47
#AF33A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AF33A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF33A5
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF33A5#FFFFFF#000000##FFFFFF
##AF33A51.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5EA8
Deuteranopia (green-blind)
#596FA2
Tritanopia (blue-blind)
#B64168
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af33a5;
/* rgb */ color: rgb(175, 51, 165);
/* oklch */ color: oklch(54.8% 0.203 331.4);
Tailwind
colors: {
  custom: {
    50: '#ca76c0',
    500: '#af33a5',
    950: '#000000',
  },
}
SCSS
$custom: #af33a5;
$custom-light: #ca76c0;
$custom-dark: #000000;
JSON
{
  "hex": "#af33a5",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 165
  },
  "hsl": {
    "h": 304.839,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54836,
    "c": 0.20256,
    "h": 331.4
  },
  "luminance": 0.14198
}

Semantic roles & 50–950 ramp

primary
#AF33A5
secondary
#7AC480
accent
#DE564A
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AF33A5

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

Preview Lab → · Contrast checker → · Palette generator →

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