#AF3DA9#AF3DA9

#AF3DA9 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 56.0% C 0.193 H 330.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AF3DA9
RGBrgb(175, 61, 169)
HSLhsl(303, 48%, 46%)
HSVhsv(303, 65%, 69%)
CMYKcmyk(0%, 65.1%, 3.4%, 31.4%)
CIE-LABlab(46.07, 59.15, -35.13)
CIE-LCHlch(46.07, 68.80, 329.29°)
OKLaboklab(56.02% 0.1673 -0.0967)
OKLCHoklch(56.02% 0.193 330)
XYZxyz(26.5092, 15.3179, 39.0888)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DA9 #3DAF43
analogous
#7C3DAF #AF3DA9 #AF3D70
triadic
#AF3DA9 #A9AF3D #3DA9AF
tetradic
#AF3DA9 #AF7C3D #3DAF43 #3D70AF
square
#AF3DA9 #AF7C3D #3DAF43 #3D70AF
split-complementary
#AF3DA9 #70AF3D #3DAF7C
monochromatic
#541D51 #822D7D #AF3DA9 #C861C3 #D88FD4

Accessibility & contrast

On white

5.17
#AF3DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AF3DA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DA9
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DA9#FFFFFF#000000##FFFFFF
##AF3DA91.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3363AC
Deuteranopia (green-blind)
#5C73A6
Tritanopia (blue-blind)
#B54A6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af3da9;
/* rgb */ color: rgb(175, 61, 169);
/* oklch */ color: oklch(56.0% 0.193 330.0);
Tailwind
colors: {
  custom: {
    50: '#ca7bc3',
    500: '#af3da9',
    950: '#000000',
  },
}
SCSS
$custom: #af3da9;
$custom-light: #ca7bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3da9",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 169
  },
  "hsl": {
    "h": 303.158,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56021,
    "c": 0.19325,
    "h": 330
  },
  "luminance": 0.15316
}

Semantic roles & 50–950 ramp

primary
#AF3DA9
secondary
#85C388
accent
#D85750
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF3DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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