#AF4CC0#AF4CC0

#AF4CC0 is a mid, vivid purple. Relative luminance 0.181; OKLCH L 59.0% C 0.192 H 321.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AF4CC0
RGBrgb(175, 76, 192)
HSLhsl(291, 48%, 53%)
HSVhsv(291, 60%, 75%)
CMYKcmyk(8.9%, 60.4%, 0%, 24.7%)
CIE-LABlab(49.61, 56.81, -43.00)
CIE-LCHlch(49.61, 71.25, 322.88°)
OKLaboklab(58.98% 0.1507 -0.1196)
OKLCHoklch(58.98% 0.192 321.6)
XYZxyz(29.7770, 18.0901, 51.7822)
Luminance0.1809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4CC0 #5DC04C
analogous
#754CC0 #AF4CC0 #C04C97
triadic
#AF4CC0 #C0AF4C #4CC0AF
tetradic
#AF4CC0 #C0754C #5DC04C #4C97C0
square
#AF4CC0 #C0754C #5DC04C #4C97C0
split-complementary
#AF4CC0 #97C04C #4CC075
monochromatic
#61266C #8A3699 #AF4CC0 #C379D0 #D7A7E0

Accessibility & contrast

On white

4.55
#AF4CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#AF4CC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4CC0
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4CC0#FFFFFF#000000##000000
##AF4CC01.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#336FC4
Deuteranopia (green-blind)
#597ABD
Tritanopia (blue-blind)
#B15E7F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af4cc0;
/* rgb */ color: rgb(175, 76, 192);
/* oklch */ color: oklch(59.0% 0.192 321.6);
Tailwind
colors: {
  custom: {
    50: '#ca84d3',
    500: '#af4cc0',
    950: '#000000',
  },
}
SCSS
$custom: #af4cc0;
$custom-light: #ca84d3;
$custom-dark: #000000;
JSON
{
  "hex": "#af4cc0",
  "rgb": {
    "r": 175,
    "g": 76,
    "b": 192
  },
  "hsl": {
    "h": 291.207,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58978,
    "c": 0.19237,
    "h": 321.6
  },
  "luminance": 0.18089
}

Semantic roles & 50–950 ramp

primary
#AF4CC0
secondary
#A2CD9B
accent
#D85064
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF4CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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