#AF33AE#AF33AE

#AF33AE is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.3% C 0.209 H 328.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AF33AE
RGBrgb(175, 51, 174)
HSLhsl(300, 55%, 44%)
HSVhsv(300, 71%, 69%)
CMYKcmyk(0%, 70.9%, 0.6%, 31.4%)
CIE-LABlab(45.00, 63.74, -39.78)
CIE-LCHlch(45.00, 75.13, 328.03°)
OKLaboklab(55.34% 0.1782 -0.1101)
OKLCHoklch(55.34% 0.209 328.3)
XYZxyz(26.5027, 14.5395, 41.4467)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF33AE #33AF34
analogous
#7233AF #AF33AE #AF3370
triadic
#AF33AE #AEAF33 #33AEAF
tetradic
#AF33AE #AF7233 #33AF34 #3370AF
square
#AF33AE #AF7233 #33AF34 #3370AF
split-complementary
#AF33AE #70AF33 #33AF72
monochromatic
#501750 #80257F #AF33AE #CD52CC #DB82DA

Accessibility & contrast

On white

5.37
#AF33AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#AF33AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF33AE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF33AE#FFFFFF#000000##FFFFFF
##AF33AE1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F60B1
Deuteranopia (green-blind)
#5470AB
Tritanopia (blue-blind)
#B5456D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af33ae;
/* rgb */ color: rgb(175, 51, 174);
/* oklch */ color: oklch(55.3% 0.209 328.3);
Tailwind
colors: {
  custom: {
    50: '#ca77c6',
    500: '#af33ae',
    950: '#000000',
  },
}
SCSS
$custom: #af33ae;
$custom-light: #ca77c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af33ae",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 174
  },
  "hsl": {
    "h": 300.484,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55335,
    "c": 0.20948,
    "h": 328.3
  },
  "luminance": 0.14538
}

Semantic roles & 50–950 ramp

primary
#AF33AE
secondary
#7AC47B
accent
#DE4B4A
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF33AE

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

Preview Lab → · Contrast checker → · Palette generator →

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