#AF33AA#AF33AA

#AF33AA is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.206 H 329.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AF33AA
RGBrgb(175, 51, 170)
HSLhsl(302, 55%, 44%)
HSVhsv(302, 71%, 69%)
CMYKcmyk(0%, 70.9%, 2.9%, 31.4%)
CIE-LABlab(44.78, 63.08, -37.75)
CIE-LCHlch(44.78, 73.51, 329.10°)
OKLaboklab(55.11% 0.1781 -0.1042)
OKLCHoklch(55.11% 0.206 329.7)
XYZxyz(26.1185, 14.3859, 39.4235)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF33AA #33AF38
analogous
#7633AF #AF33AA #AF336C
triadic
#AF33AA #AAAF33 #33AAAF
tetradic
#AF33AA #AF7633 #33AF38 #336CAF
square
#AF33AA #AF7633 #33AF38 #336CAF
split-complementary
#AF33AA #6CAF33 #33AF76
monochromatic
#50174E #80257C #AF33AA #CD52C8 #DB82D7

Accessibility & contrast

On white

5.42
#AF33AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AF33AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF33AA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF33AA#FFFFFF#000000##FFFFFF
##AF33AA1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245FAD
Deuteranopia (green-blind)
#5770A7
Tritanopia (blue-blind)
#B5436B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af33aa;
/* rgb */ color: rgb(175, 51, 170);
/* oklch */ color: oklch(55.1% 0.206 329.7);
Tailwind
colors: {
  custom: {
    50: '#ca76c4',
    500: '#af33aa',
    950: '#000000',
  },
}
SCSS
$custom: #af33aa;
$custom-light: #ca76c4;
$custom-dark: #000000;
JSON
{
  "hex": "#af33aa",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 302.419,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5511,
    "c": 0.20638,
    "h": 329.7
  },
  "luminance": 0.14384
}

Semantic roles & 50–950 ramp

primary
#AF33AA
secondary
#7AC47D
accent
#DE504A
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AF33AA

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

Preview Lab → · Contrast checker → · Palette generator →

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