#AF3AD0#AF3AD0

#AF3AD0 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.0% C 0.230 H 317.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AF3AD0
RGBrgb(175, 58, 208)
HSLhsl(287, 61%, 52%)
HSVhsv(287, 72%, 82%)
CMYKcmyk(15.9%, 72.1%, 0%, 18.4%)
CIE-LABlab(47.87, 67.28, -54.99)
CIE-LCHlch(47.87, 86.89, 320.74°)
OKLaboklab(58.03% 0.17 -0.1545)
OKLCHoklch(58.03% 0.23 317.7)
XYZxyz(30.5758, 16.6955, 61.2743)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3AD0 #5BD03A
analogous
#643AD0 #AF3AD0 #D03AA6
triadic
#AF3AD0 #D0AF3A #3AD0AF
tetradic
#AF3AD0 #D0643A #5BD03A #3AA6D0
square
#AF3AD0 #D0643A #5BD03A #3AA6D0
split-complementary
#AF3AD0 #A6D03A #3AD064
monochromatic
#611C74 #8A27A5 #AF3AD0 #C36BDC #D79DE8

Accessibility & contrast

On white

4.84
#AF3AD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#AF3AD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3AD0
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3AD0#FFFFFF#000000##FFFFFF
##AF3AD01.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD4
Deuteranopia (green-blind)
#3F75CD
Tritanopia (blue-blind)
#AE5982
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af3ad0;
/* rgb */ color: rgb(175, 58, 208);
/* oklch */ color: oklch(58.0% 0.230 317.7);
Tailwind
colors: {
  custom: {
    50: '#cb7bdf',
    500: '#af3ad0',
    950: '#000000',
  },
}
SCSS
$custom: #af3ad0;
$custom-light: #cb7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ad0",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 208
  },
  "hsl": {
    "h": 286.8,
    "s": 61.475,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58032,
    "c": 0.22973,
    "h": 317.7
  },
  "luminance": 0.16694
}

Semantic roles & 50–950 ramp

primary
#AF3AD0
secondary
#A1D492
accent
#E54367
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3AD0

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

Preview Lab → · Contrast checker → · Palette generator →

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