#AF66BD#AF66BD

#AF66BD is a light, vivid purple. Relative luminance 0.223; OKLCH L 62.4% C 0.148 H 321.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AF66BD
RGBrgb(175, 102, 189)
HSLhsl(290, 40%, 57%)
HSVhsv(290, 46%, 74%)
CMYKcmyk(7.4%, 46%, 0%, 25.9%)
CIE-LABlab(54.34, 43.26, -33.82)
CIE-LCHlch(54.34, 54.92, 321.98°)
OKLaboklab(62.41% 0.1152 -0.0933)
OKLCHoklch(62.41% 0.148 321)
XYZxyz(31.6148, 22.2920, 50.7717)
Luminance0.2229 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF66BD #74BD66
analogous
#8466BD #AF66BD #BD66A0
triadic
#AF66BD #BDAF66 #66BDAF
tetradic
#AF66BD #BD8466 #74BD66 #66A0BD
square
#AF66BD #BD8466 #74BD66 #66A0BD
split-complementary
#AF66BD #A0BD66 #66BD84
monochromatic
#6B3376 #9245A1 #AF66BD #C591CF #DCBCE2

Accessibility & contrast

On white

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

On black

5.46
#AF66BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF66BD
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF66BD#FFFFFF#000000##000000
##AF66BD1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#597DC0
Deuteranopia (green-blind)
#6E85BA
Tritanopia (blue-blind)
#B17189
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #af66bd;
/* rgb */ color: rgb(175, 102, 189);
/* oklch */ color: oklch(62.4% 0.148 321.0);
Tailwind
colors: {
  custom: {
    50: '#c894d1',
    500: '#af66bd',
    950: '#000000',
  },
}
SCSS
$custom: #af66bd;
$custom-light: #c894d1;
$custom-dark: #000000;
JSON
{
  "hex": "#af66bd",
  "rgb": {
    "r": 175,
    "g": 102,
    "b": 189
  },
  "hsl": {
    "h": 290.345,
    "s": 39.726,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62412,
    "c": 0.14818,
    "h": 321
  },
  "luminance": 0.22291
}

Semantic roles & 50–950 ramp

primary
#AF66BD
secondary
#B3D1AE
accent
#D0586B
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AF66BD

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

Preview Lab → · Contrast checker → · Palette generator →

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