#AF33A6#AF33A6

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

Color values

HEX#AF33A6
RGBrgb(175, 51, 166)
HSLhsl(304, 55%, 44%)
HSVhsv(304, 71%, 69%)
CMYKcmyk(0%, 70.9%, 5.1%, 31.4%)
CIE-LABlab(44.57, 62.43, -35.71)
CIE-LCHlch(44.57, 71.92, 330.23°)
OKLaboklab(54.89% 0.178 -0.0983)
OKLCHoklch(54.89% 0.203 331.1)
XYZxyz(25.7459, 14.2368, 37.4610)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF33A6 #33AF3C
analogous
#7A33AF #AF33A6 #AF3368
triadic
#AF33A6 #A6AF33 #33A6AF
tetradic
#AF33A6 #AF7A33 #33AF3C #3368AF
square
#AF33A6 #AF7A33 #33AF3C #3368AF
split-complementary
#AF33A6 #68AF33 #33AF7A
monochromatic
#50174C #802579 #AF33A6 #CD52C4 #DB82D4

Accessibility & contrast

On white

5.46
#AF33A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#AF33A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF33A6
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF33A6#FFFFFF#000000##FFFFFF
##AF33A61.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295EA9
Deuteranopia (green-blind)
#596FA3
Tritanopia (blue-blind)
#B64169
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af33a6;
/* rgb */ color: rgb(175, 51, 166);
/* oklch */ color: oklch(54.9% 0.203 331.1);
Tailwind
colors: {
  custom: {
    50: '#ca76c1',
    500: '#af33a6',
    950: '#000000',
  },
}
SCSS
$custom: #af33a6;
$custom-light: #ca76c1;
$custom-dark: #000000;
JSON
{
  "hex": "#af33a6",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 166
  },
  "hsl": {
    "h": 304.355,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5489,
    "c": 0.20331,
    "h": 331.1
  },
  "luminance": 0.14235
}

Semantic roles & 50–950 ramp

primary
#AF33A6
secondary
#7AC47F
accent
#DE544A
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AF33A6

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

Preview Lab → · Contrast checker → · Palette generator →

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