#AF3AD4#AF3AD4

#AF3AD4 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.3% C 0.233 H 316.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AF3AD4
RGBrgb(175, 58, 212)
HSLhsl(286, 64%, 53%)
HSVhsv(286, 73%, 83%)
CMYKcmyk(17.5%, 72.6%, 0%, 16.9%)
CIE-LABlab(48.13, 68.04, -56.88)
CIE-LCHlch(48.13, 88.68, 320.10°)
OKLaboklab(58.29% 0.1696 -0.1601)
OKLCHoklch(58.29% 0.233 316.7)
XYZxyz(31.0741, 16.8948, 63.8988)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3AD4 #5FD43A
analogous
#623AD4 #AF3AD4 #D43AAC
triadic
#AF3AD4 #D4AF3A #3AD4AF
tetradic
#AF3AD4 #D4623A #5FD43A #3AACD4
square
#AF3AD4 #D4623A #5FD43A #3AACD4
split-complementary
#AF3AD4 #ACD43A #3AD462
monochromatic
#621A79 #8B25AB #AF3AD4 #C36CDF #D89EEA

Accessibility & contrast

On white

4.80
#AF3AD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#AF3AD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3AD4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3AD4#FFFFFF#000000##FFFFFF
##AF3AD41.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#3B76D1
Tritanopia (blue-blind)
#AD5A84
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af3ad4;
/* rgb */ color: rgb(175, 58, 212);
/* oklch */ color: oklch(58.3% 0.233 316.7);
Tailwind
colors: {
  custom: {
    50: '#cb7be2',
    500: '#af3ad4',
    950: '#000000',
  },
}
SCSS
$custom: #af3ad4;
$custom-light: #cb7be2;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ad4",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 212
  },
  "hsl": {
    "h": 285.584,
    "s": 64.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58292,
    "c": 0.23319,
    "h": 316.7
  },
  "luminance": 0.16894
}

Semantic roles & 50–950 ramp

primary
#AF3AD4
secondary
#A4D694
accent
#E74169
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #AF3AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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