#AF4CC3#AF4CC3

#AF4CC3 is a mid, vivid purple. Relative luminance 0.182; OKLCH L 59.1% C 0.195 H 320.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AF4CC3
RGBrgb(175, 76, 195)
HSLhsl(290, 50%, 53%)
HSVhsv(290, 61%, 76%)
CMYKcmyk(10.3%, 61%, 0%, 23.5%)
CIE-LABlab(49.77, 57.38, -44.48)
CIE-LCHlch(49.77, 72.60, 322.22°)
OKLaboklab(59.15% 0.1508 -0.1239)
OKLCHoklch(59.15% 0.195 320.6)
XYZxyz(30.1128, 18.2244, 53.5507)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4CC3 #60C34C
analogous
#734CC3 #AF4CC3 #C34C9B
triadic
#AF4CC3 #C3AF4C #4CC3AF
tetradic
#AF4CC3 #C3734C #60C34C #4C9BC3
square
#AF4CC3 #C3734C #60C34C #4C9BC3
split-complementary
#AF4CC3 #9BC34C #4CC373
monochromatic
#63256F #8C359D #AF4CC3 #C37AD2 #D8A8E2

Accessibility & contrast

On white

4.52
#AF4CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#AF4CC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4CC3
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4CC3#FFFFFF#000000##000000
##AF4CC31.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#306FC7
Deuteranopia (green-blind)
#577AC0
Tritanopia (blue-blind)
#B05F81
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af4cc3;
/* rgb */ color: rgb(175, 76, 195);
/* oklch */ color: oklch(59.1% 0.195 320.6);
Tailwind
colors: {
  custom: {
    50: '#ca84d6',
    500: '#af4cc3',
    950: '#000000',
  },
}
SCSS
$custom: #af4cc3;
$custom-light: #ca84d6;
$custom-dark: #000000;
JSON
{
  "hex": "#af4cc3",
  "rgb": {
    "r": 175,
    "g": 76,
    "b": 195
  },
  "hsl": {
    "h": 289.916,
    "s": 49.791,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59148,
    "c": 0.19516,
    "h": 320.6
  },
  "luminance": 0.18223
}

Semantic roles & 50–950 ramp

primary
#AF4CC3
secondary
#A4CF9C
accent
#D94E66
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF4CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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