#AF3DAE#AF3DAE

#AF3DAE is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.3% C 0.197 H 328.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AF3DAE
RGBrgb(175, 61, 174)
HSLhsl(301, 48%, 46%)
HSVhsv(301, 65%, 69%)
CMYKcmyk(0%, 65.1%, 0.6%, 31.4%)
CIE-LABlab(46.32, 60.00, -37.68)
CIE-LCHlch(46.32, 70.85, 327.87°)
OKLaboklab(56.29% 0.1676 -0.1041)
OKLCHoklch(56.29% 0.197 328.2)
XYZxyz(26.9876, 15.5093, 41.6083)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DAE #3DAF3E
analogous
#773DAF #AF3DAE #AF3D75
triadic
#AF3DAE #AEAF3D #3DAEAF
tetradic
#AF3DAE #AF773D #3DAF3E #3D75AF
square
#AF3DAE #AF773D #3DAF3E #3D75AF
split-complementary
#AF3DAE #75AF3D #3DAF77
monochromatic
#541D54 #822D81 #AF3DAE #C861C7 #D88FD7

Accessibility & contrast

On white

5.12
#AF3DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AF3DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DAE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DAE#FFFFFF#000000##FFFFFF
##AF3DAE1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E64B1
Deuteranopia (green-blind)
#5A73AB
Tritanopia (blue-blind)
#B44C70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af3dae;
/* rgb */ color: rgb(175, 61, 174);
/* oklch */ color: oklch(56.3% 0.197 328.2);
Tailwind
colors: {
  custom: {
    50: '#ca7bc6',
    500: '#af3dae',
    950: '#000000',
  },
}
SCSS
$custom: #af3dae;
$custom-light: #ca7bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3dae",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 174
  },
  "hsl": {
    "h": 300.526,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5629,
    "c": 0.19731,
    "h": 328.2
  },
  "luminance": 0.15507
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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