#AF66BB#AF66BB

#AF66BB is a light, vivid purple. Relative luminance 0.222; OKLCH L 62.3% C 0.146 H 321.8°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AF66BB
RGBrgb(175, 102, 187)
HSLhsl(292, 38%, 57%)
HSVhsv(292, 45%, 73%)
CMYKcmyk(6.4%, 45.5%, 0%, 26.7%)
CIE-LABlab(54.24, 42.87, -32.81)
CIE-LCHlch(54.24, 53.98, 322.57°)
OKLaboklab(62.32% 0.1148 -0.0904)
OKLCHoklch(62.32% 0.146 321.8)
XYZxyz(31.3992, 22.2058, 49.6363)
Luminance0.2220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF66BB #72BB66
analogous
#8566BB #AF66BB #BB669D
triadic
#AF66BB #BBAF66 #66BBAF
tetradic
#AF66BB #BB8566 #72BB66 #669DBB
square
#AF66BB #BB8566 #72BB66 #669DBB
split-complementary
#AF66BB #9DBB66 #66BB85
monochromatic
#6A3373 #91469E #AF66BB #C590CE #DBBBE1

Accessibility & contrast

On white

3.86
#AF66BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#AF66BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF66BB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF66BB#FFFFFF#000000##000000
##AF66BB1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7CBE
Deuteranopia (green-blind)
#6F85B8
Tritanopia (blue-blind)
#B17088
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #af66bb;
/* rgb */ color: rgb(175, 102, 187);
/* oklch */ color: oklch(62.3% 0.146 321.8);
Tailwind
colors: {
  custom: {
    50: '#c894cf',
    500: '#af66bb',
    950: '#000000',
  },
}
SCSS
$custom: #af66bb;
$custom-light: #c894cf;
$custom-dark: #000000;
JSON
{
  "hex": "#af66bb",
  "rgb": {
    "r": 175,
    "g": 102,
    "b": 187
  },
  "hsl": {
    "h": 291.529,
    "s": 38.462,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62315,
    "c": 0.1461,
    "h": 321.8
  },
  "luminance": 0.22205
}

Semantic roles & 50–950 ramp

primary
#AF66BB
secondary
#B2D0AD
accent
#CE596A
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AF66BB

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

Preview Lab → · Contrast checker → · Palette generator →

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