#AF3AA1#AF3AA1

#AF3AA1 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.3% C 0.191 H 333.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AF3AA1
RGBrgb(175, 58, 161)
HSLhsl(307, 50%, 46%)
HSVhsv(307, 67%, 69%)
CMYKcmyk(0%, 66.9%, 8%, 31.4%)
CIE-LABlab(45.24, 59.04, -31.68)
CIE-LCHlch(45.24, 67.00, 331.78°)
OKLaboklab(55.29% 0.1701 -0.0867)
OKLCHoklch(55.29% 0.191 333)
XYZxyz(25.6254, 14.7153, 35.2020)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3AA1 #3AAF48
analogous
#823AAF #AF3AA1 #AF3A67
triadic
#AF3AA1 #A1AF3A #3AA1AF
tetradic
#AF3AA1 #AF823A #3AAF48 #3A67AF
square
#AF3AA1 #AF823A #3AAF48 #3A67AF
split-complementary
#AF3AA1 #67AF3A #3AAF82
monochromatic
#531C4C #812B77 #AF3AA1 #C95DBC #D98BCF

Accessibility & contrast

On white

5.33
#AF3AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AF3AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3AA1
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3AA1#FFFFFF#000000##FFFFFF
##AF3AA11.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3660A4
Deuteranopia (green-blind)
#5E719E
Tritanopia (blue-blind)
#B74468
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af3aa1;
/* rgb */ color: rgb(175, 58, 161);
/* oklch */ color: oklch(55.3% 0.191 333.0);
Tailwind
colors: {
  custom: {
    50: '#ca79bd',
    500: '#af3aa1',
    950: '#000000',
  },
}
SCSS
$custom: #af3aa1;
$custom-light: #ca79bd;
$custom-dark: #000000;
JSON
{
  "hex": "#af3aa1",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 161
  },
  "hsl": {
    "h": 307.179,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55293,
    "c": 0.19089,
    "h": 333
  },
  "luminance": 0.14713
}

Semantic roles & 50–950 ramp

primary
#AF3AA1
secondary
#82C38A
accent
#DA5F4E
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF3AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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