#AF60CC#AF60CC

#AF60CC is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.3% C 0.174 H 316.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AF60CC
RGBrgb(175, 96, 204)
HSLhsl(284, 51%, 59%)
HSVhsv(284, 53%, 80%)
CMYKcmyk(14.2%, 52.9%, 0%, 20%)
CIE-LABlab(53.86, 49.46, -43.16)
CIE-LCHlch(53.86, 65.64, 318.89°)
OKLaboklab(62.29% 0.1255 -0.1202)
OKLCHoklch(62.29% 0.174 316.2)
XYZxyz(32.7595, 21.8404, 59.6050)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF60CC #7DCC60
analogous
#7960CC #AF60CC #CC60B3
triadic
#AF60CC #CCAF60 #60CCAF
tetradic
#AF60CC #CC7960 #7DCC60 #60B3CC
square
#AF60CC #CC7960 #7DCC60 #60B3CC
split-complementary
#AF60CC #B3CC60 #60CC79
monochromatic
#6E2B86 #943AB5 #AF60CC #C68EDB #DEBDEA

Accessibility & contrast

On white

3.91
#AF60CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#AF60CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF60CC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF60CC#FFFFFF#000000##000000
##AF60CC1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#487CD0
Deuteranopia (green-blind)
#6183C9
Tritanopia (blue-blind)
#AE718D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #af60cc;
/* rgb */ color: rgb(175, 96, 204);
/* oklch */ color: oklch(62.3% 0.174 316.2);
Tailwind
colors: {
  custom: {
    50: '#c990dc',
    500: '#af60cc',
    950: '#000000',
  },
}
SCSS
$custom: #af60cc;
$custom-light: #c990dc;
$custom-dark: #000000;
JSON
{
  "hex": "#af60cc",
  "rgb": {
    "r": 175,
    "g": 96,
    "b": 204
  },
  "hsl": {
    "h": 283.889,
    "s": 51.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62294,
    "c": 0.1738,
    "h": 316.2
  },
  "luminance": 0.21839
}

Semantic roles & 50–950 ramp

primary
#AF60CC
secondary
#BAD9AF
accent
#DB4D73
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF60CC

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

Preview Lab → · Contrast checker → · Palette generator →

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