#AF3CC1#AF3CC1

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

Color values

HEX#AF3CC1
RGBrgb(175, 60, 193)
HSLhsl(292, 53%, 50%)
HSVhsv(292, 69%, 76%)
CMYKcmyk(9.3%, 68.9%, 0%, 24.3%)
CIE-LABlab(47.23, 63.74, -47.35)
CIE-LCHlch(47.23, 79.41, 323.39°)
OKLaboklab(57.28% 0.1689 -0.1322)
OKLCHoklch(57.28% 0.215 322)
XYZxyz(28.9197, 16.1975, 52.0449)
Luminance0.1620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CC1 #4EC13C
analogous
#6D3CC1 #AF3CC1 #C13C90
triadic
#AF3CC1 #C1AF3C #3CC1AF
tetradic
#AF3CC1 #C16D3C #4EC13C #3C90C1
square
#AF3CC1 #C16D3C #4EC13C #3C90C1
split-complementary
#AF3CC1 #90C13C #3CC16D
monochromatic
#5A1F64 #852D92 #AF3CC1 #C36AD1 #D698DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3CC1#FFFFFF#000000##FFFFFF
##AF3CC11.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)
#0C68C5
Deuteranopia (green-blind)
#4D74BE
Tritanopia (blue-blind)
#B1537A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af3cc1;
/* rgb */ color: rgb(175, 60, 193);
/* oklch */ color: oklch(57.3% 0.215 322.0);
Tailwind
colors: {
  custom: {
    50: '#ca7bd4',
    500: '#af3cc1',
    950: '#000000',
  },
}
SCSS
$custom: #af3cc1;
$custom-light: #ca7bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cc1",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 193
  },
  "hsl": {
    "h": 291.88,
    "s": 52.569,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57283,
    "c": 0.21451,
    "h": 322
  },
  "luminance": 0.16196
}

Semantic roles & 50–950 ramp

primary
#AF3CC1
secondary
#96CB8E
accent
#DC4C5F
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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