#AF3CA9#AF3CA9

#AF3CA9 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.9% C 0.195 H 330.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AF3CA9
RGBrgb(175, 60, 169)
HSLhsl(303, 49%, 46%)
HSVhsv(303, 66%, 69%)
CMYKcmyk(0%, 65.7%, 3.4%, 31.4%)
CIE-LABlab(45.92, 59.55, -35.36)
CIE-LCHlch(45.92, 69.26, 329.30°)
OKLaboklab(55.92% 0.1685 -0.0974)
OKLCHoklch(55.92% 0.195 330)
XYZxyz(26.4563, 15.2122, 39.0712)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CA9 #3CAF42
analogous
#7B3CAF #AF3CA9 #AF3C6F
triadic
#AF3CA9 #A9AF3C #3CA9AF
tetradic
#AF3CA9 #AF7B3C #3CAF42 #3C6FAF
square
#AF3CA9 #AF7B3C #3CAF42 #3C6FAF
split-complementary
#AF3CA9 #6FAF3C #3CAF7B
monochromatic
#541D51 #812C7D #AF3CA9 #C860C3 #D88DD4

Accessibility & contrast

On white

5.20
#AF3CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AF3CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CA9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CA9#FFFFFF#000000##FFFFFF
##AF3CA91.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3263AC
Deuteranopia (green-blind)
#5C72A6
Tritanopia (blue-blind)
#B5496D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af3ca9;
/* rgb */ color: rgb(175, 60, 169);
/* oklch */ color: oklch(55.9% 0.195 330.0);
Tailwind
colors: {
  custom: {
    50: '#ca7bc3',
    500: '#af3ca9',
    950: '#000000',
  },
}
SCSS
$custom: #af3ca9;
$custom-light: #ca7bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ca9",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 169
  },
  "hsl": {
    "h": 303.13,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55917,
    "c": 0.19456,
    "h": 330
  },
  "luminance": 0.1521
}

Semantic roles & 50–950 ramp

primary
#AF3CA9
secondary
#84C387
accent
#D8564F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF3CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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