#AF3AC1#AF3AC1

#AF3AC1 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.1% C 0.217 H 322.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AF3AC1
RGBrgb(175, 58, 193)
HSLhsl(292, 54%, 49%)
HSVhsv(292, 70%, 76%)
CMYKcmyk(9.3%, 69.9%, 0%, 24.3%)
CIE-LABlab(46.96, 64.50, -47.78)
CIE-LCHlch(46.96, 80.27, 323.47°)
OKLaboklab(57.09% 0.171 -0.1334)
OKLCHoklch(57.09% 0.217 322)
XYZxyz(28.8169, 15.9919, 52.0106)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3AC1 #4CC13A
analogous
#6C3AC1 #AF3AC1 #C13A90
triadic
#AF3AC1 #C1AF3A #3AC1AF
tetradic
#AF3AC1 #C16C3A #4CC13A #3A90C1
square
#AF3AC1 #C16C3A #4CC13A #3A90C1
split-complementary
#AF3AC1 #90C13A #3AC16C
monochromatic
#5A1E63 #842C92 #AF3AC1 #C367D1 #D696DF

Accessibility & contrast

On white

5.00
#AF3AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AF3AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3AC1
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3AC1#FFFFFF#000000##FFFFFF
##AF3AC11.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0267C5
Deuteranopia (green-blind)
#4C74BE
Tritanopia (blue-blind)
#B1527A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3ac1;
/* rgb */ color: rgb(175, 58, 193);
/* oklch */ color: oklch(57.1% 0.217 322.0);
Tailwind
colors: {
  custom: {
    50: '#cb7ad4',
    500: '#af3ac1',
    950: '#000000',
  },
}
SCSS
$custom: #af3ac1;
$custom-light: #cb7ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ac1",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 193
  },
  "hsl": {
    "h": 292,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57091,
    "c": 0.21689,
    "h": 322
  },
  "luminance": 0.1599
}

Semantic roles & 50–950 ramp

primary
#AF3AC1
secondary
#94CB8C
accent
#DD4B5E
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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