#AF3AC3#AF3AC3

#AF3AC3 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.2% C 0.219 H 321.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AF3AC3
RGBrgb(175, 58, 195)
HSLhsl(291, 54%, 50%)
HSVhsv(291, 70%, 76%)
CMYKcmyk(10.3%, 70.3%, 0%, 23.5%)
CIE-LABlab(47.08, 64.86, -48.76)
CIE-LCHlch(47.08, 81.15, 323.07°)
OKLaboklab(57.21% 0.1709 -0.1363)
OKLCHoklch(57.21% 0.219 321.4)
XYZxyz(29.0415, 16.0818, 53.1936)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3AC3 #4EC33A
analogous
#6B3AC3 #AF3AC3 #C33A93
triadic
#AF3AC3 #C3AF3A #3AC3AF
tetradic
#AF3AC3 #C36B3A #4EC33A #3A93C3
square
#AF3AC3 #C36B3A #4EC33A #3A93C3
split-complementary
#AF3AC3 #93C33A #3AC36B
monochromatic
#5A1E65 #852C94 #AF3AC3 #C368D2 #D697E0

Accessibility & contrast

On white

4.98
#AF3AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AF3AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3AC3
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3AC3#FFFFFF#000000##FFFFFF
##AF3AC31.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C7
Deuteranopia (green-blind)
#4B74C0
Tritanopia (blue-blind)
#B1537B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af3ac3;
/* rgb */ color: rgb(175, 58, 195);
/* oklch */ color: oklch(57.2% 0.219 321.4);
Tailwind
colors: {
  custom: {
    50: '#cb7bd6',
    500: '#af3ac3',
    950: '#000000',
  },
}
SCSS
$custom: #af3ac3;
$custom-light: #cb7bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ac3",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 195
  },
  "hsl": {
    "h": 291.241,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57213,
    "c": 0.21858,
    "h": 321.4
  },
  "luminance": 0.1608
}

Semantic roles & 50–950 ramp

primary
#AF3AC3
secondary
#96CC8D
accent
#DE4A60
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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