#AF66BC#AF66BC

#AF66BC is a light, vivid purple. Relative luminance 0.222; OKLCH L 62.4% C 0.147 H 321.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AF66BC
RGBrgb(175, 102, 188)
HSLhsl(291, 39%, 57%)
HSVhsv(291, 46%, 74%)
CMYKcmyk(6.9%, 45.7%, 0%, 26.3%)
CIE-LABlab(54.29, 43.06, -33.32)
CIE-LCHlch(54.29, 54.45, 322.27°)
OKLaboklab(62.36% 0.115 -0.0918)
OKLCHoklch(62.36% 0.147 321.4)
XYZxyz(31.5066, 22.2488, 50.2020)
Luminance0.2225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF66BC #73BC66
analogous
#8466BC #AF66BC #BC669E
triadic
#AF66BC #BCAF66 #66BCAF
tetradic
#AF66BC #BC8466 #73BC66 #669EBC
square
#AF66BC #BC8466 #73BC66 #669EBC
split-complementary
#AF66BC #9EBC66 #66BC84
monochromatic
#6B3375 #92469F #AF66BC #C591CF #DCBBE1

Accessibility & contrast

On white

3.85
#AF66BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#AF66BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF66BC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF66BC#FFFFFF#000000##000000
##AF66BC1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7DBF
Deuteranopia (green-blind)
#6E85B9
Tritanopia (blue-blind)
#B17188
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #af66bc;
/* rgb */ color: rgb(175, 102, 188);
/* oklch */ color: oklch(62.4% 0.147 321.4);
Tailwind
colors: {
  custom: {
    50: '#c894d0',
    500: '#af66bc',
    950: '#000000',
  },
}
SCSS
$custom: #af66bc;
$custom-light: #c894d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af66bc",
  "rgb": {
    "r": 175,
    "g": 102,
    "b": 188
  },
  "hsl": {
    "h": 290.93,
    "s": 39.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62363,
    "c": 0.14714,
    "h": 321.4
  },
  "luminance": 0.22248
}

Semantic roles & 50–950 ramp

primary
#AF66BC
secondary
#B3D0AD
accent
#CF596B
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AF66BC

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

Preview Lab → · Contrast checker → · Palette generator →

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