#AF3DA4#AF3DA4

#AF3DA4 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.8% C 0.189 H 331.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AF3DA4
RGBrgb(175, 61, 164)
HSLhsl(306, 48%, 46%)
HSVhsv(306, 65%, 69%)
CMYKcmyk(0%, 65.1%, 6.3%, 31.4%)
CIE-LABlab(45.82, 58.33, -32.56)
CIE-LCHlch(45.82, 66.80, 330.83°)
OKLaboklab(55.76% 0.1669 -0.0893)
OKLCHoklch(55.76% 0.189 331.8)
XYZxyz(26.0488, 15.1338, 36.6639)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DA4 #3DAF48
analogous
#813DAF #AF3DA4 #AF3D6B
triadic
#AF3DA4 #A4AF3D #3DA4AF
tetradic
#AF3DA4 #AF813D #3DAF48 #3D6BAF
square
#AF3DA4 #AF813D #3DAF48 #3D6BAF
split-complementary
#AF3DA4 #6BAF3D #3DAF81
monochromatic
#541D4F #822D79 #AF3DA4 #C861BE #D88FD1

Accessibility & contrast

On white

5.22
#AF3DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AF3DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DA4
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DA4#FFFFFF#000000##FFFFFF
##AF3DA41.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3762A7
Deuteranopia (green-blind)
#5E72A1
Tritanopia (blue-blind)
#B6486B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af3da4;
/* rgb */ color: rgb(175, 61, 164);
/* oklch */ color: oklch(55.8% 0.189 331.8);
Tailwind
colors: {
  custom: {
    50: '#ca7bbf',
    500: '#af3da4',
    950: '#000000',
  },
}
SCSS
$custom: #af3da4;
$custom-light: #ca7bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#af3da4",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 164
  },
  "hsl": {
    "h": 305.789,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55758,
    "c": 0.18928,
    "h": 331.8
  },
  "luminance": 0.15132
}

Semantic roles & 50–950 ramp

primary
#AF3DA4
secondary
#85C38B
accent
#D85D50
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF3DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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