#AF3DAC#AF3DAC

#AF3DAC is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.2% C 0.196 H 328.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AF3DAC
RGBrgb(175, 61, 172)
HSLhsl(302, 48%, 46%)
HSVhsv(302, 65%, 69%)
CMYKcmyk(0%, 65.1%, 1.7%, 31.4%)
CIE-LABlab(46.22, 59.66, -36.66)
CIE-LCHlch(46.22, 70.02, 328.43°)
OKLaboklab(56.18% 0.1675 -0.1011)
OKLCHoklch(56.18% 0.196 328.9)
XYZxyz(26.7941, 15.4319, 40.5891)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DAC #3DAF40
analogous
#793DAF #AF3DAC #AF3D73
triadic
#AF3DAC #ACAF3D #3DACAF
tetradic
#AF3DAC #AF793D #3DAF40 #3D73AF
square
#AF3DAC #AF793D #3DAF40 #3D73AF
split-complementary
#AF3DAC #73AF3D #3DAF79
monochromatic
#541D53 #822D7F #AF3DAC #C861C5 #D88FD6

Accessibility & contrast

On white

5.14
#AF3DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#AF3DAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DAC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DAC#FFFFFF#000000##FFFFFF
##AF3DAC1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3064AF
Deuteranopia (green-blind)
#5B73A9
Tritanopia (blue-blind)
#B54B6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af3dac;
/* rgb */ color: rgb(175, 61, 172);
/* oklch */ color: oklch(56.2% 0.196 328.9);
Tailwind
colors: {
  custom: {
    50: '#ca7bc5',
    500: '#af3dac',
    950: '#000000',
  },
}
SCSS
$custom: #af3dac;
$custom-light: #ca7bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3dac",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 172
  },
  "hsl": {
    "h": 301.579,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56182,
    "c": 0.19567,
    "h": 328.9
  },
  "luminance": 0.1543
}

Semantic roles & 50–950 ramp

primary
#AF3DAC
secondary
#85C387
accent
#D85350
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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