#AF3CC7#AF3CC7

#AF3CC7 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.6% C 0.220 H 320.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AF3CC7
RGBrgb(175, 60, 199)
HSLhsl(290, 55%, 51%)
HSVhsv(290, 70%, 78%)
CMYKcmyk(12.1%, 69.8%, 0%, 22%)
CIE-LABlab(47.59, 64.84, -50.27)
CIE-LCHlch(47.59, 82.05, 322.22°)
OKLaboklab(57.65% 0.1687 -0.1407)
OKLCHoklch(57.65% 0.22 320.2)
XYZxyz(29.6026, 16.4707, 55.6416)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CC7 #54C73C
analogous
#693CC7 #AF3CC7 #C73C99
triadic
#AF3CC7 #C7AF3C #3CC7AF
tetradic
#AF3CC7 #C7693C #54C73C #3C99C7
square
#AF3CC7 #C7693C #54C73C #3C99C7
split-complementary
#AF3CC7 #99C73C #3CC769
monochromatic
#5D1E6A #872C9A #AF3CC7 #C36CD5 #D69BE2

Accessibility & contrast

On white

4.89
#AF3CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#AF3CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CC7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CC7#FFFFFF#000000##FFFFFF
##AF3CC71.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#4975C4
Tritanopia (blue-blind)
#B0567D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af3cc7;
/* rgb */ color: rgb(175, 60, 199);
/* oklch */ color: oklch(57.6% 0.220 320.2);
Tailwind
colors: {
  custom: {
    50: '#cb7cd9',
    500: '#af3cc7',
    950: '#000000',
  },
}
SCSS
$custom: #af3cc7;
$custom-light: #cb7cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cc7",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 199
  },
  "hsl": {
    "h": 289.64,
    "s": 55.378,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5765,
    "c": 0.21966,
    "h": 320.2
  },
  "luminance": 0.16469
}

Semantic roles & 50–950 ramp

primary
#AF3CC7
secondary
#9BCE91
accent
#DF4963
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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