#AF33AF#AF33AF

#AF33AF is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.210 H 328.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AF33AF
RGBrgb(175, 51, 175)
HSLhsl(300, 55%, 44%)
HSVhsv(300, 71%, 69%)
CMYKcmyk(0%, 70.9%, 0%, 31.4%)
CIE-LABlab(45.05, 63.90, -40.28)
CIE-LCHlch(45.05, 75.54, 327.77°)
OKLaboklab(55.39% 0.1782 -0.1115)
OKLCHoklch(55.39% 0.21 328)
XYZxyz(26.6005, 14.5787, 41.9620)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF33AF #33AF33
analogous
#7133AF #AF33AF #AF3371
triadic
#AF33AF #AFAF33 #33AFAF
tetradic
#AF33AF #AF7133 #33AF33 #3371AF
square
#AF33AF #AF7133 #33AF33 #3371AF
split-complementary
#AF33AF #71AF33 #33AF71
monochromatic
#501750 #802580 #AF33AF #CD52CD #DB82DB

Accessibility & contrast

On white

5.36
#AF33AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AF33AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF33AF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF33AF#FFFFFF#000000##FFFFFF
##AF33AF1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D60B2
Deuteranopia (green-blind)
#5470AC
Tritanopia (blue-blind)
#B4466E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af33af;
/* rgb */ color: rgb(175, 51, 175);
/* oklch */ color: oklch(55.4% 0.210 328.0);
Tailwind
colors: {
  custom: {
    50: '#ca77c7',
    500: '#af33af',
    950: '#000000',
  },
}
SCSS
$custom: #af33af;
$custom-light: #ca77c7;
$custom-dark: #000000;
JSON
{
  "hex": "#af33af",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 300,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55391,
    "c": 0.21026,
    "h": 328
  },
  "luminance": 0.14577
}

Semantic roles & 50–950 ramp

primary
#AF33AF
secondary
#7AC47A
accent
#DE4A4A
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF33AF

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

Preview Lab → · Contrast checker → · Palette generator →

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