#AF74CC#AF74CC

#AF74CC is a light, vivid purple. Relative luminance 0.260; OKLCH L 65.4% C 0.141 H 313.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AF74CC
RGBrgb(175, 116, 204)
HSLhsl(280, 46%, 63%)
HSVhsv(280, 43%, 80%)
CMYKcmyk(14.2%, 43.1%, 0%, 20%)
CIE-LABlab(58.00, 38.79, -36.64)
CIE-LCHlch(58.00, 53.36, 316.63°)
OKLaboklab(65.38% 0.0975 -0.1015)
OKLCHoklch(65.38% 0.141 313.9)
XYZxyz(34.8219, 25.9652, 60.2924)
Luminance0.2596 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF74CC #91CC74
analogous
#8374CC #AF74CC #CC74BD
triadic
#AF74CC #CCAF74 #74CCAF
tetradic
#AF74CC #CC8374 #91CC74 #74BDCC
square
#AF74CC #CC8374 #91CC74 #74BDCC
split-complementary
#AF74CC #BDCC74 #74CC83
monochromatic
#723591 #9547BC #AF74CC #C9A1DC #E3CEED

Accessibility & contrast

On white

3.39
#AF74CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#AF74CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF74CC
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF74CC#FFFFFF#000000##000000
##AF74CC1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6388CF
Deuteranopia (green-blind)
#738DCA
Tritanopia (blue-blind)
#AD8196
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af74cc;
/* rgb */ color: rgb(175, 116, 204);
/* oklch */ color: oklch(65.4% 0.141 313.9);
Tailwind
colors: {
  custom: {
    50: '#c89ddc',
    500: '#af74cc',
    950: '#000000',
  },
}
SCSS
$custom: #af74cc;
$custom-light: #c89ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#af74cc",
  "rgb": {
    "r": 175,
    "g": 116,
    "b": 204
  },
  "hsl": {
    "h": 280.227,
    "s": 46.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.65377,
    "c": 0.14071,
    "h": 313.9
  },
  "luminance": 0.25964
}

Semantic roles & 50–950 ramp

primary
#AF74CC
secondary
#C8DEBE
accent
#BA2C5B
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF74CC

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

Preview Lab → · Contrast checker → · Palette generator →

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