#AF3ABF#AF3ABF

#AF3ABF is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.0% C 0.215 H 322.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AF3ABF
RGBrgb(175, 58, 191)
HSLhsl(293, 53%, 49%)
HSVhsv(293, 70%, 75%)
CMYKcmyk(8.4%, 69.6%, 0%, 25.1%)
CIE-LABlab(46.85, 64.14, -46.81)
CIE-LCHlch(46.85, 79.40, 323.88°)
OKLaboklab(56.97% 0.1711 -0.1306)
OKLCHoklch(56.97% 0.215 322.6)
XYZxyz(28.5953, 15.9033, 50.8436)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3ABF #4ABF3A
analogous
#6D3ABF #AF3ABF #BF3A8D
triadic
#AF3ABF #BFAF3A #3ABFAF
tetradic
#AF3ABF #BF6D3A #4ABF3A #3A8DBF
square
#AF3ABF #BF6D3A #4ABF3A #3A8DBF
split-complementary
#AF3ABF #8DBF3A #3ABF6D
monochromatic
#591D61 #842C90 #AF3ABF #C466D0 #D695DF

Accessibility & contrast

On white

5.02
#AF3ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AF3ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3ABF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3ABF#FFFFFF#000000##FFFFFF
##AF3ABF1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A66C3
Deuteranopia (green-blind)
#4D74BC
Tritanopia (blue-blind)
#B15179
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3abf;
/* rgb */ color: rgb(175, 58, 191);
/* oklch */ color: oklch(57.0% 0.215 322.6);
Tailwind
colors: {
  custom: {
    50: '#ca7ad3',
    500: '#af3abf',
    950: '#000000',
  },
}
SCSS
$custom: #af3abf;
$custom-light: #ca7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3abf",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 191
  },
  "hsl": {
    "h": 292.782,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5697,
    "c": 0.2152,
    "h": 322.6
  },
  "luminance": 0.15902
}

Semantic roles & 50–950 ramp

primary
#AF3ABF
secondary
#92CA8B
accent
#DD4B5D
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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