#AF3DAD#AF3DAD

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

Color values

HEX#AF3DAD
RGBrgb(175, 61, 173)
HSLhsl(301, 48%, 46%)
HSVhsv(301, 65%, 69%)
CMYKcmyk(0%, 65.1%, 1.1%, 31.4%)
CIE-LABlab(46.27, 59.83, -37.17)
CIE-LCHlch(46.27, 70.43, 328.15°)
OKLaboklab(56.24% 0.1676 -0.1026)
OKLCHoklch(56.24% 0.196 328.5)
XYZxyz(26.8905, 15.4704, 41.0968)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DAD #3DAF3F
analogous
#783DAF #AF3DAD #AF3D74
triadic
#AF3DAD #ADAF3D #3DADAF
tetradic
#AF3DAD #AF783D #3DAF3F #3D74AF
square
#AF3DAD #AF783D #3DAF3F #3D74AF
split-complementary
#AF3DAD #74AF3D #3DAF78
monochromatic
#541D53 #822D80 #AF3DAD #C861C6 #D88FD7

Accessibility & contrast

On white

5.13
#AF3DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3DAD
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DAD#FFFFFF#000000##FFFFFF
##AF3DAD1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F64B0
Deuteranopia (green-blind)
#5A73AA
Tritanopia (blue-blind)
#B54C70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af3dad;
/* rgb */ color: rgb(175, 61, 173);
/* oklch */ color: oklch(56.2% 0.196 328.5);
Tailwind
colors: {
  custom: {
    50: '#ca7bc6',
    500: '#af3dad',
    950: '#000000',
  },
}
SCSS
$custom: #af3dad;
$custom-light: #ca7bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3dad",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 173
  },
  "hsl": {
    "h": 301.053,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56236,
    "c": 0.19649,
    "h": 328.5
  },
  "luminance": 0.15469
}

Semantic roles & 50–950 ramp

primary
#AF3DAD
secondary
#85C386
accent
#D85250
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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