#AF33A3#AF33A3

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

Color values

HEX#AF33A3
RGBrgb(175, 51, 163)
HSLhsl(306, 55%, 44%)
HSVhsv(306, 71%, 69%)
CMYKcmyk(0%, 70.9%, 6.9%, 31.4%)
CIE-LABlab(44.42, 61.96, -34.17)
CIE-LCHlch(44.42, 70.75, 331.12°)
OKLaboklab(54.73% 0.1778 -0.0938)
OKLCHoklch(54.73% 0.201 332.2)
XYZxyz(25.4739, 14.1280, 36.0285)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF33A3 #33AF3F
analogous
#7D33AF #AF33A3 #AF3365
triadic
#AF33A3 #A3AF33 #33A3AF
tetradic
#AF33A3 #AF7D33 #33AF3F #3365AF
square
#AF33A3 #AF7D33 #33AF3F #3365AF
split-complementary
#AF33A3 #65AF33 #33AF7D
monochromatic
#50174B #802577 #AF33A3 #CD52C1 #DB82D2

Accessibility & contrast

On white

5.49
#AF33A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF33A3
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF33A3#FFFFFF#000000##FFFFFF
##AF33A31.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5EA6
Deuteranopia (green-blind)
#5A6FA0
Tritanopia (blue-blind)
#B64067
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af33a3;
/* rgb */ color: rgb(175, 51, 163);
/* oklch */ color: oklch(54.7% 0.201 332.2);
Tailwind
colors: {
  custom: {
    50: '#ca76be',
    500: '#af33a3',
    950: '#000000',
  },
}
SCSS
$custom: #af33a3;
$custom-light: #ca76be;
$custom-dark: #000000;
JSON
{
  "hex": "#af33a3",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 163
  },
  "hsl": {
    "h": 305.806,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54729,
    "c": 0.20105,
    "h": 332.2
  },
  "luminance": 0.14126
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF33A3

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

Preview Lab → · Contrast checker → · Palette generator →

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