#AF3ABE#AF3ABE

#AF3ABE is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.9% C 0.214 H 323.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AF3ABE
RGBrgb(175, 58, 190)
HSLhsl(293, 53%, 49%)
HSVhsv(293, 69%, 75%)
CMYKcmyk(7.9%, 69.5%, 0%, 25.5%)
CIE-LABlab(46.79, 63.96, -46.32)
CIE-LCHlch(46.79, 78.97, 324.09°)
OKLaboklab(56.91% 0.1711 -0.1291)
OKLCHoklch(56.91% 0.214 323)
XYZxyz(28.4856, 15.8594, 50.2660)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3ABE #49BE3A
analogous
#6D3ABE #AF3ABE #BE3A8B
triadic
#AF3ABE #BEAF3A #3ABEAF
tetradic
#AF3ABE #BE6D3A #49BE3A #3A8BBE
square
#AF3ABE #BE6D3A #49BE3A #3A8BBE
split-complementary
#AF3ABE #8BBE3A #3ABE6D
monochromatic
#591D60 #842C8F #AF3ABE #C465D0 #D694DE

Accessibility & contrast

On white

5.03
#AF3ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AF3ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3ABE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3ABE#FFFFFF#000000##FFFFFF
##AF3ABE1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E66C2
Deuteranopia (green-blind)
#4E73BB
Tritanopia (blue-blind)
#B25178
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3abe;
/* rgb */ color: rgb(175, 58, 190);
/* oklch */ color: oklch(56.9% 0.214 323.0);
Tailwind
colors: {
  custom: {
    50: '#ca7ad2',
    500: '#af3abe',
    950: '#000000',
  },
}
SCSS
$custom: #af3abe;
$custom-light: #ca7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#af3abe",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 190
  },
  "hsl": {
    "h": 293.182,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5691,
    "c": 0.21436,
    "h": 323
  },
  "luminance": 0.15858
}

Semantic roles & 50–950 ramp

primary
#AF3ABE
secondary
#91CA8A
accent
#DD4B5C
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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