#AF3DA5#AF3DA5

#AF3DA5 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.8% C 0.190 H 331.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AF3DA5
RGBrgb(175, 61, 165)
HSLhsl(305, 48%, 46%)
HSVhsv(305, 65%, 69%)
CMYKcmyk(0%, 65.1%, 5.7%, 31.4%)
CIE-LABlab(45.87, 58.49, -33.08)
CIE-LCHlch(45.87, 67.19, 330.51°)
OKLaboklab(55.81% 0.167 -0.0908)
OKLCHoklch(55.81% 0.19 331.5)
XYZxyz(26.1394, 15.1700, 37.1414)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DA5 #3DAF47
analogous
#803DAF #AF3DA5 #AF3D6C
triadic
#AF3DA5 #A5AF3D #3DA5AF
tetradic
#AF3DA5 #AF803D #3DAF47 #3D6CAF
square
#AF3DA5 #AF803D #3DAF47 #3D6CAF
split-complementary
#AF3DA5 #6CAF3D #3DAF80
monochromatic
#541D4F #822D7A #AF3DA5 #C861BF #D88FD1

Accessibility & contrast

On white

5.21
#AF3DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3DA5
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DA5#FFFFFF#000000##FFFFFF
##AF3DA51.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3662A8
Deuteranopia (green-blind)
#5E72A2
Tritanopia (blue-blind)
#B6486C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af3da5;
/* rgb */ color: rgb(175, 61, 165);
/* oklch */ color: oklch(55.8% 0.190 331.5);
Tailwind
colors: {
  custom: {
    50: '#ca7bc0',
    500: '#af3da5',
    950: '#000000',
  },
}
SCSS
$custom: #af3da5;
$custom-light: #ca7bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#af3da5",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 165
  },
  "hsl": {
    "h": 305.263,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5581,
    "c": 0.19006,
    "h": 331.5
  },
  "luminance": 0.15168
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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