#AF3AC6#AF3AC6

#AF3AC6 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.4% C 0.221 H 320.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AF3AC6
RGBrgb(175, 58, 198)
HSLhsl(290, 55%, 50%)
HSVhsv(290, 71%, 78%)
CMYKcmyk(11.6%, 70.7%, 0%, 22.4%)
CIE-LABlab(47.26, 65.41, -50.21)
CIE-LCHlch(47.26, 82.46, 322.49°)
OKLaboklab(57.4% 0.1708 -0.1405)
OKLCHoklch(57.4% 0.221 320.5)
XYZxyz(29.3841, 16.2188, 54.9979)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3AC6 #51C63A
analogous
#693AC6 #AF3AC6 #C63A97
triadic
#AF3AC6 #C6AF3A #3AC6AF
tetradic
#AF3AC6 #C6693A #51C63A #3A97C6
square
#AF3AC6 #C6693A #51C63A #3A97C6
split-complementary
#AF3AC6 #97C63A #3AC669
monochromatic
#5C1E68 #852C97 #AF3AC6 #C269D4 #D699E1

Accessibility & contrast

On white

4.95
#AF3AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AF3AC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3AC6
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3AC6#FFFFFF#000000##FFFFFF
##AF3AC61.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CA
Deuteranopia (green-blind)
#4874C3
Tritanopia (blue-blind)
#B0547C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af3ac6;
/* rgb */ color: rgb(175, 58, 198);
/* oklch */ color: oklch(57.4% 0.221 320.5);
Tailwind
colors: {
  custom: {
    50: '#cb7bd8',
    500: '#af3ac6',
    950: '#000000',
  },
}
SCSS
$custom: #af3ac6;
$custom-light: #cb7bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ac6",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 198
  },
  "hsl": {
    "h": 290.143,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57398,
    "c": 0.22114,
    "h": 320.5
  },
  "luminance": 0.16217
}

Semantic roles & 50–950 ramp

primary
#AF3AC6
secondary
#99CD8F
accent
#DE4962
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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