#AF3CC2#AF3CC2

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

Color values

HEX#AF3CC2
RGBrgb(175, 60, 194)
HSLhsl(291, 53%, 50%)
HSVhsv(291, 69%, 76%)
CMYKcmyk(9.8%, 69.1%, 0%, 23.9%)
CIE-LABlab(47.29, 63.92, -47.84)
CIE-LCHlch(47.29, 79.84, 323.19°)
OKLaboklab(57.34% 0.1689 -0.1336)
OKLCHoklch(57.34% 0.215 321.7)
XYZxyz(29.0316, 16.2423, 52.6344)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CC2 #4FC23C
analogous
#6C3CC2 #AF3CC2 #C23C92
triadic
#AF3CC2 #C2AF3C #3CC2AF
tetradic
#AF3CC2 #C26C3C #4FC23C #3C92C2
square
#AF3CC2 #C26C3C #4FC23C #3C92C2
split-complementary
#AF3CC2 #92C23C #3CC26C
monochromatic
#5B1F65 #852E93 #AF3CC2 #C26AD1 #D599DF

Accessibility & contrast

On white

4.94
#AF3CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AF3CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CC2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CC2#FFFFFF#000000##FFFFFF
##AF3CC21.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0868C6
Deuteranopia (green-blind)
#4D74BF
Tritanopia (blue-blind)
#B1547B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af3cc2;
/* rgb */ color: rgb(175, 60, 194);
/* oklch */ color: oklch(57.3% 0.215 321.7);
Tailwind
colors: {
  custom: {
    50: '#ca7bd5',
    500: '#af3cc2',
    950: '#000000',
  },
}
SCSS
$custom: #af3cc2;
$custom-light: #ca7bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cc2",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 194
  },
  "hsl": {
    "h": 291.493,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57343,
    "c": 0.21536,
    "h": 321.7
  },
  "luminance": 0.16241
}

Semantic roles & 50–950 ramp

primary
#AF3CC2
secondary
#97CB8F
accent
#DC4C60
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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