#AF3AD5#AF3AD5

#AF3AD5 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.4% C 0.234 H 316.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AF3AD5
RGBrgb(175, 58, 213)
HSLhsl(285, 65%, 53%)
HSVhsv(285, 73%, 84%)
CMYKcmyk(17.8%, 72.8%, 0%, 16.5%)
CIE-LABlab(48.19, 68.23, -57.35)
CIE-LCHlch(48.19, 89.13, 319.95°)
OKLaboklab(58.36% 0.1695 -0.1614)
OKLCHoklch(58.36% 0.234 316.4)
XYZxyz(31.2007, 16.9454, 64.5652)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3AD5 #60D53A
analogous
#613AD5 #AF3AD5 #D53AAE
triadic
#AF3AD5 #D5AF3A #3AD5AF
tetradic
#AF3AD5 #D5613A #60D53A #3AAED5
square
#AF3AD5 #D5613A #60D53A #3AAED5
split-complementary
#AF3AD5 #AED53A #3AD561
monochromatic
#631A7A #8C25AD #AF3AD5 #C36CE0 #D89FEB

Accessibility & contrast

On white

4.78
#AF3AD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AF3AD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3AD5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3AD5#FFFFFF#000000##FFFFFF
##AF3AD51.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#3A76D2
Tritanopia (blue-blind)
#AD5B85
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af3ad5;
/* rgb */ color: rgb(175, 58, 213);
/* oklch */ color: oklch(58.4% 0.234 316.4);
Tailwind
colors: {
  custom: {
    50: '#cb7be3',
    500: '#af3ad5',
    950: '#000000',
  },
}
SCSS
$custom: #af3ad5;
$custom-light: #cb7be3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ad5",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 213
  },
  "hsl": {
    "h": 285.29,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58358,
    "c": 0.23406,
    "h": 316.4
  },
  "luminance": 0.16944
}

Semantic roles & 50–950 ramp

primary
#AF3AD5
secondary
#A4D794
accent
#E84069
background
#FDF7FE
surface
#FAEEFC
border
#D3C9D5
text
#140A15
muted
#837C84

Preview Lab

Preview with #AF3AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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