#AF3AA0#AF3AA0

#AF3AA0 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.2% C 0.190 H 333.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AF3AA0
RGBrgb(175, 58, 160)
HSLhsl(308, 50%, 46%)
HSVhsv(308, 67%, 69%)
CMYKcmyk(0%, 66.9%, 8.6%, 31.4%)
CIE-LABlab(45.19, 58.88, -31.16)
CIE-LCHlch(45.19, 66.61, 332.11°)
OKLaboklab(55.24% 0.17 -0.0853)
OKLCHoklch(55.24% 0.19 333.4)
XYZxyz(25.5375, 14.6802, 34.7394)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3AA0 #3AAF49
analogous
#833AAF #AF3AA0 #AF3A65
triadic
#AF3AA0 #A0AF3A #3AA0AF
tetradic
#AF3AA0 #AF833A #3AAF49 #3A65AF
square
#AF3AA0 #AF833A #3AAF49 #3A65AF
split-complementary
#AF3AA0 #65AF3A #3AAF83
monochromatic
#531C4C #812B76 #AF3AA0 #C95DBB #D98BCF

Accessibility & contrast

On white

5.34
#AF3AA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3AA0
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3AA0#FFFFFF#000000##FFFFFF
##AF3AA01.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3760A3
Deuteranopia (green-blind)
#5F719D
Tritanopia (blue-blind)
#B74468
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af3aa0;
/* rgb */ color: rgb(175, 58, 160);
/* oklch */ color: oklch(55.2% 0.190 333.4);
Tailwind
colors: {
  custom: {
    50: '#ca79bc',
    500: '#af3aa0',
    950: '#000000',
  },
}
SCSS
$custom: #af3aa0;
$custom-light: #ca79bc;
$custom-dark: #000000;
JSON
{
  "hex": "#af3aa0",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 160
  },
  "hsl": {
    "h": 307.692,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55242,
    "c": 0.19013,
    "h": 333.4
  },
  "luminance": 0.14678
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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