#AF3AD3#AF3AD3

#AF3AD3 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.2% C 0.232 H 316.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AF3AD3
RGBrgb(175, 58, 211)
HSLhsl(286, 63%, 53%)
HSVhsv(286, 73%, 83%)
CMYKcmyk(17.1%, 72.5%, 0%, 17.3%)
CIE-LABlab(48.06, 67.85, -56.41)
CIE-LCHlch(48.06, 88.23, 320.26°)
OKLaboklab(58.23% 0.1697 -0.1587)
OKLCHoklch(58.23% 0.232 316.9)
XYZxyz(30.9484, 16.8445, 63.2365)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3AD3 #5ED33A
analogous
#623AD3 #AF3AD3 #D33AAB
triadic
#AF3AD3 #D3AF3A #3AD3AF
tetradic
#AF3AD3 #D3623A #5ED33A #3AABD3
square
#AF3AD3 #D3623A #5ED33A #3AABD3
split-complementary
#AF3AD3 #ABD33A #3AD362
monochromatic
#621B78 #8B26AA #AF3AD3 #C36CDE #D89EE9

Accessibility & contrast

On white

4.81
#AF3AD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#AF3AD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3AD3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3AD3#FFFFFF#000000##FFFFFF
##AF3AD31.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af3ad3;
/* rgb */ color: rgb(175, 58, 211);
/* oklch */ color: oklch(58.2% 0.232 316.9);
Tailwind
colors: {
  custom: {
    50: '#cb7be1',
    500: '#af3ad3',
    950: '#000000',
  },
}
SCSS
$custom: #af3ad3;
$custom-light: #cb7be1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ad3",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 211
  },
  "hsl": {
    "h": 285.882,
    "s": 63.485,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58227,
    "c": 0.23233,
    "h": 316.9
  },
  "luminance": 0.16843
}

Semantic roles & 50–950 ramp

primary
#AF3AD3
secondary
#A3D693
accent
#E74168
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #AF3AD3

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

Preview Lab → · Contrast checker → · Palette generator →

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