#AF66CC#AF66CC

#AF66CC is a light, vivid purple. Relative luminance 0.230; OKLCH L 63.2% C 0.164 H 315.6°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AF66CC
RGBrgb(175, 102, 204)
HSLhsl(283, 50%, 60%)
HSVhsv(283, 50%, 80%)
CMYKcmyk(14.2%, 50%, 0%, 20%)
CIE-LABlab(55.05, 46.34, -41.28)
CIE-LCHlch(55.05, 62.06, 318.30°)
OKLaboklab(63.18% 0.1173 -0.1148)
OKLCHoklch(63.18% 0.164 315.6)
XYZxyz(33.3280, 22.9773, 59.7945)
Luminance0.2298 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF66CC #83CC66
analogous
#7C66CC #AF66CC #CC66B6
triadic
#AF66CC #CCAF66 #66CCAF
tetradic
#AF66CC #CC7C66 #83CC66 #66B6CC
square
#AF66CC #CC7C66 #83CC66 #66B6CC
split-complementary
#AF66CC #B6CC66 #66CC7C
monochromatic
#702E8A #953DB8 #AF66CC #C794DB #DFC2EB

Accessibility & contrast

On white

3.75
#AF66CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#AF66CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF66CC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF66CC#FFFFFF#000000##000000
##AF66CC1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCF
Deuteranopia (green-blind)
#6686C9
Tritanopia (blue-blind)
#AD7590
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af66cc;
/* rgb */ color: rgb(175, 102, 204);
/* oklch */ color: oklch(63.2% 0.164 315.6);
Tailwind
colors: {
  custom: {
    50: '#c994dc',
    500: '#af66cc',
    950: '#000000',
  },
}
SCSS
$custom: #af66cc;
$custom-light: #c994dc;
$custom-dark: #000000;
JSON
{
  "hex": "#af66cc",
  "rgb": {
    "r": 175,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 282.941,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.63175,
    "c": 0.16414,
    "h": 315.6
  },
  "luminance": 0.22976
}

Semantic roles & 50–950 ramp

primary
#AF66CC
secondary
#BEDBB3
accent
#DA4E76
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF66CC

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

Preview Lab → · Contrast checker → · Palette generator →

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