#AF3CC4#AF3CC4

#AF3CC4 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.5% C 0.217 H 321.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AF3CC4
RGBrgb(175, 60, 196)
HSLhsl(291, 54%, 50%)
HSVhsv(291, 69%, 77%)
CMYKcmyk(10.7%, 69.4%, 0%, 23.1%)
CIE-LABlab(47.41, 64.29, -48.81)
CIE-LCHlch(47.41, 80.72, 322.79°)
OKLaboklab(57.47% 0.1688 -0.1365)
OKLCHoklch(57.47% 0.217 321.1)
XYZxyz(29.2577, 16.3327, 53.8253)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CC4 #51C43C
analogous
#6B3CC4 #AF3CC4 #C43C95
triadic
#AF3CC4 #C4AF3C #3CC4AF
tetradic
#AF3CC4 #C46B3C #51C43C #3C95C4
square
#AF3CC4 #C46B3C #51C43C #3C95C4
split-complementary
#AF3CC4 #95C43C #3CC46B
monochromatic
#5C1F67 #852D96 #AF3CC4 #C26BD2 #D69AE0

Accessibility & contrast

On white

4.92
#AF3CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AF3CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CC4
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CC4#FFFFFF#000000##FFFFFF
##AF3CC41.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C8
Deuteranopia (green-blind)
#4B75C1
Tritanopia (blue-blind)
#B0557C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af3cc4;
/* rgb */ color: rgb(175, 60, 196);
/* oklch */ color: oklch(57.5% 0.217 321.1);
Tailwind
colors: {
  custom: {
    50: '#cb7cd6',
    500: '#af3cc4',
    950: '#000000',
  },
}
SCSS
$custom: #af3cc4;
$custom-light: #cb7cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cc4",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 196
  },
  "hsl": {
    "h": 290.735,
    "s": 53.543,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57465,
    "c": 0.21708,
    "h": 321.1
  },
  "luminance": 0.16331
}

Semantic roles & 50–950 ramp

primary
#AF3CC4
secondary
#99CC90
accent
#DD4B61
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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