#AF3CAA#AF3CAA

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

Color values

HEX#AF3CAA
RGBrgb(175, 60, 170)
HSLhsl(303, 49%, 46%)
HSVhsv(303, 66%, 69%)
CMYKcmyk(0%, 65.7%, 2.9%, 31.4%)
CIE-LABlab(45.97, 59.72, -35.87)
CIE-LCHlch(45.97, 69.66, 329.01°)
OKLaboklab(55.97% 0.1685 -0.0988)
OKLCHoklch(55.97% 0.195 329.6)
XYZxyz(26.5506, 15.2499, 39.5675)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CAA #3CAF41
analogous
#7A3CAF #AF3CAA #AF3C70
triadic
#AF3CAA #AAAF3C #3CAAAF
tetradic
#AF3CAA #AF7A3C #3CAF41 #3C70AF
square
#AF3CAA #AF7A3C #3CAF41 #3C70AF
split-complementary
#AF3CAA #70AF3C #3CAF7A
monochromatic
#541D51 #812C7E #AF3CAA #C860C4 #D88DD5

Accessibility & contrast

On white

5.19
#AF3CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AF3CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CAA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CAA#FFFFFF#000000##FFFFFF
##AF3CAA1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3163AD
Deuteranopia (green-blind)
#5B72A7
Tritanopia (blue-blind)
#B54A6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af3caa;
/* rgb */ color: rgb(175, 60, 170);
/* oklch */ color: oklch(56.0% 0.195 329.6);
Tailwind
colors: {
  custom: {
    50: '#ca7bc4',
    500: '#af3caa',
    950: '#000000',
  },
}
SCSS
$custom: #af3caa;
$custom-light: #ca7bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#af3caa",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 170
  },
  "hsl": {
    "h": 302.609,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5597,
    "c": 0.19536,
    "h": 329.6
  },
  "luminance": 0.15248
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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