#AF3CC6#AF3CC6

#AF3CC6 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.6% C 0.219 H 320.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AF3CC6
RGBrgb(175, 60, 198)
HSLhsl(290, 55%, 51%)
HSVhsv(290, 70%, 78%)
CMYKcmyk(11.6%, 69.7%, 0%, 22.4%)
CIE-LABlab(47.53, 64.66, -49.78)
CIE-LCHlch(47.53, 81.60, 322.41°)
OKLaboklab(57.59% 0.1687 -0.1393)
OKLCHoklch(57.59% 0.219 320.5)
XYZxyz(29.4869, 16.4244, 55.0322)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CC6 #53C63C
analogous
#6A3CC6 #AF3CC6 #C63C98
triadic
#AF3CC6 #C6AF3C #3CC6AF
tetradic
#AF3CC6 #C66A3C #53C63C #3C98C6
square
#AF3CC6 #C66A3C #53C63C #3C98C6
split-complementary
#AF3CC6 #98C63C #3CC66A
monochromatic
#5D1F69 #862D98 #AF3CC6 #C26BD4 #D69BE2

Accessibility & contrast

On white

4.90
#AF3CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AF3CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CC6
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CC6#FFFFFF#000000##FFFFFF
##AF3CC61.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CA
Deuteranopia (green-blind)
#4A75C3
Tritanopia (blue-blind)
#B0557D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af3cc6;
/* rgb */ color: rgb(175, 60, 198);
/* oklch */ color: oklch(57.6% 0.219 320.5);
Tailwind
colors: {
  custom: {
    50: '#cb7cd8',
    500: '#af3cc6',
    950: '#000000',
  },
}
SCSS
$custom: #af3cc6;
$custom-light: #cb7cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cc6",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 198
  },
  "hsl": {
    "h": 290,
    "s": 54.762,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57588,
    "c": 0.21881,
    "h": 320.5
  },
  "luminance": 0.16423
}

Semantic roles & 50–950 ramp

primary
#AF3CC6
secondary
#9ACE90
accent
#DE4A62
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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