#AF3AD2#AF3AD2

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

Color values

HEX#AF3AD2
RGBrgb(175, 58, 210)
HSLhsl(286, 63%, 53%)
HSVhsv(286, 72%, 82%)
CMYKcmyk(16.7%, 72.4%, 0%, 17.6%)
CIE-LABlab(48.00, 67.66, -55.94)
CIE-LCHlch(48.00, 87.79, 320.42°)
OKLaboklab(58.16% 0.1698 -0.1573)
OKLCHoklch(58.16% 0.231 317.2)
XYZxyz(30.8234, 16.7945, 62.5783)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3AD2 #5DD23A
analogous
#633AD2 #AF3AD2 #D23AA9
triadic
#AF3AD2 #D2AF3A #3AD2AF
tetradic
#AF3AD2 #D2633A #5DD23A #3AA9D2
square
#AF3AD2 #D2633A #5DD23A #3AA9D2
split-complementary
#AF3AD2 #A9D23A #3AD263
monochromatic
#611B77 #8A26A8 #AF3AD2 #C36CDD #D79EE9

Accessibility & contrast

On white

4.82
#AF3AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AF3AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3AD2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3AD2#FFFFFF#000000##FFFFFF
##AF3AD21.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#3D75CF
Tritanopia (blue-blind)
#AD5983
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af3ad2;
/* rgb */ color: rgb(175, 58, 210);
/* oklch */ color: oklch(58.2% 0.231 317.2);
Tailwind
colors: {
  custom: {
    50: '#cb7be0',
    500: '#af3ad2',
    950: '#000000',
  },
}
SCSS
$custom: #af3ad2;
$custom-light: #cb7be0;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ad2",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 210
  },
  "hsl": {
    "h": 286.184,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58161,
    "c": 0.23146,
    "h": 317.2
  },
  "luminance": 0.16793
}

Semantic roles & 50–950 ramp

primary
#AF3AD2
secondary
#A2D593
accent
#E64268
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #AF3AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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