#AF66BF#AF66BF

#AF66BF is a light, vivid purple. Relative luminance 0.224; OKLCH L 62.5% C 0.150 H 320.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AF66BF
RGBrgb(175, 102, 191)
HSLhsl(289, 41%, 57%)
HSVhsv(289, 47%, 75%)
CMYKcmyk(8.4%, 46.6%, 0%, 25.1%)
CIE-LABlab(54.43, 43.66, -34.83)
CIE-LCHlch(54.43, 55.85, 321.42°)
OKLaboklab(62.51% 0.1155 -0.0961)
OKLCHoklch(62.51% 0.15 320.2)
XYZxyz(31.8334, 22.3795, 51.9229)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF66BF #76BF66
analogous
#8266BF #AF66BF #BF66A3
triadic
#AF66BF #BFAF66 #66BFAF
tetradic
#AF66BF #BF8266 #76BF66 #66A3BF
square
#AF66BF #BF8266 #76BF66 #66A3BF
split-complementary
#AF66BF #A3BF66 #66BF82
monochromatic
#6C3278 #9244A3 #AF66BF #C691D1 #DCBCE3

Accessibility & contrast

On white

3.84
#AF66BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#AF66BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF66BF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF66BF#FFFFFF#000000##000000
##AF66BF1.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#587DC2
Deuteranopia (green-blind)
#6D85BC
Tritanopia (blue-blind)
#B0728A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #af66bf;
/* rgb */ color: rgb(175, 102, 191);
/* oklch */ color: oklch(62.5% 0.150 320.2);
Tailwind
colors: {
  custom: {
    50: '#c994d2',
    500: '#af66bf',
    950: '#000000',
  },
}
SCSS
$custom: #af66bf;
$custom-light: #c994d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af66bf",
  "rgb": {
    "r": 175,
    "g": 102,
    "b": 191
  },
  "hsl": {
    "h": 289.213,
    "s": 41.014,
    "l": 57.451
  },
  "oklch": {
    "l": 0.6251,
    "c": 0.15027,
    "h": 320.2
  },
  "luminance": 0.22378
}

Semantic roles & 50–950 ramp

primary
#AF66BF
secondary
#B5D2AE
accent
#D1576D
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AF66BF

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

Preview Lab → · Contrast checker → · Palette generator →

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