#AF3ACD#AF3ACD

#AF3ACD is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.8% C 0.227 H 318.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AF3ACD
RGBrgb(175, 58, 205)
HSLhsl(288, 60%, 52%)
HSVhsv(288, 72%, 80%)
CMYKcmyk(14.6%, 71.7%, 0%, 19.6%)
CIE-LABlab(47.69, 66.71, -53.57)
CIE-LCHlch(47.69, 85.56, 321.24°)
OKLaboklab(57.84% 0.1703 -0.1504)
OKLCHoklch(57.84% 0.227 318.5)
XYZxyz(30.2102, 16.5492, 59.3488)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3ACD #58CD3A
analogous
#663ACD #AF3ACD #CD3AA2
triadic
#AF3ACD #CDAF3A #3ACDAF
tetradic
#AF3ACD #CD663A #58CD3A #3AA2CD
square
#AF3ACD #CD663A #58CD3A #3AA2CD
split-complementary
#AF3ACD #A2CD3A #3ACD66
monochromatic
#5F1C70 #8829A1 #AF3ACD #C36BD9 #D79CE6

Accessibility & contrast

On white

4.87
#AF3ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#AF3ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3ACD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3ACD#FFFFFF#000000##FFFFFF
##AF3ACD1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#4275CA
Tritanopia (blue-blind)
#AE5780
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af3acd;
/* rgb */ color: rgb(175, 58, 205);
/* oklch */ color: oklch(57.8% 0.227 318.5);
Tailwind
colors: {
  custom: {
    50: '#cb7bdd',
    500: '#af3acd',
    950: '#000000',
  },
}
SCSS
$custom: #af3acd;
$custom-light: #cb7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#af3acd",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 205
  },
  "hsl": {
    "h": 287.755,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57839,
    "c": 0.22714,
    "h": 318.5
  },
  "luminance": 0.16548
}

Semantic roles & 50–950 ramp

primary
#AF3ACD
secondary
#9ED291
accent
#E34565
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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