#AF3ABD#AF3ABD

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

Color values

HEX#AF3ABD
RGBrgb(175, 58, 189)
HSLhsl(294, 53%, 48%)
HSVhsv(294, 69%, 74%)
CMYKcmyk(7.4%, 69.3%, 0%, 25.9%)
CIE-LABlab(46.73, 63.78, -45.82)
CIE-LCHlch(46.73, 78.54, 324.30°)
OKLaboklab(56.85% 0.1711 -0.1277)
OKLCHoklch(56.85% 0.214 323.3)
XYZxyz(28.3767, 15.8158, 49.6923)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3ABD #48BD3A
analogous
#6D3ABD #AF3ABD #BD3A89
triadic
#AF3ABD #BDAF3A #3ABDAF
tetradic
#AF3ABD #BD6D3A #48BD3A #3A89BD
square
#AF3ABD #BD6D3A #48BD3A #3A89BD
split-complementary
#AF3ABD #89BD3A #3ABD6D
monochromatic
#581D5F #842C8E #AF3ABD #C465D0 #D693DE

Accessibility & contrast

On white

5.04
#AF3ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#AF3ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3ABD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3ABD#FFFFFF#000000##FFFFFF
##AF3ABD1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1166C1
Deuteranopia (green-blind)
#4F73BA
Tritanopia (blue-blind)
#B25077
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3abd;
/* rgb */ color: rgb(175, 58, 189);
/* oklch */ color: oklch(56.9% 0.214 323.3);
Tailwind
colors: {
  custom: {
    50: '#ca7ad1',
    500: '#af3abd',
    950: '#000000',
  },
}
SCSS
$custom: #af3abd;
$custom-light: #ca7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3abd",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 189
  },
  "hsl": {
    "h": 293.588,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5685,
    "c": 0.21351,
    "h": 323.3
  },
  "luminance": 0.15814
}

Semantic roles & 50–950 ramp

primary
#AF3ABD
secondary
#90C98A
accent
#DC4B5B
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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