#AF3CA5#AF3CA5

#AF3CA5 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.7% C 0.191 H 331.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AF3CA5
RGBrgb(175, 60, 165)
HSLhsl(305, 49%, 46%)
HSVhsv(305, 66%, 69%)
CMYKcmyk(0%, 65.7%, 5.7%, 31.4%)
CIE-LABlab(45.72, 58.89, -33.30)
CIE-LCHlch(45.72, 67.66, 330.51°)
OKLaboklab(55.71% 0.1681 -0.0914)
OKLCHoklch(55.71% 0.191 331.5)
XYZxyz(26.0865, 15.0643, 37.1238)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CA5 #3CAF46
analogous
#7F3CAF #AF3CA5 #AF3C6B
triadic
#AF3CA5 #A5AF3C #3CA5AF
tetradic
#AF3CA5 #AF7F3C #3CAF46 #3C6BAF
square
#AF3CA5 #AF7F3C #3CAF46 #3C6BAF
split-complementary
#AF3CA5 #6BAF3C #3CAF7F
monochromatic
#541D4F #812C7A #AF3CA5 #C860BF #D88DD2

Accessibility & contrast

On white

5.23
#AF3CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AF3CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CA5
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CA5#FFFFFF#000000##FFFFFF
##AF3CA51.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3562A8
Deuteranopia (green-blind)
#5D72A2
Tritanopia (blue-blind)
#B6486B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af3ca5;
/* rgb */ color: rgb(175, 60, 165);
/* oklch */ color: oklch(55.7% 0.191 331.5);
Tailwind
colors: {
  custom: {
    50: '#ca7bc0',
    500: '#af3ca5',
    950: '#000000',
  },
}
SCSS
$custom: #af3ca5;
$custom-light: #ca7bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ca5",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 305.217,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55706,
    "c": 0.19138,
    "h": 331.5
  },
  "luminance": 0.15062
}

Semantic roles & 50–950 ramp

primary
#AF3CA5
secondary
#84C389
accent
#D85B4F
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF3CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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