#AF82BB#AF82BB

#AF82BB is a light, moderate purple. Relative luminance 0.287; OKLCH L 67.0% C 0.096 H 319.1°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#AF82BB
RGBrgb(175, 130, 187)
HSLhsl(287, 30%, 62%)
HSVhsv(287, 30%, 73%)
CMYKcmyk(6.4%, 30.5%, 0%, 26.7%)
CIE-LABlab(60.49, 27.43, -23.16)
CIE-LCHlch(60.49, 35.90, 319.83°)
OKLaboklab(67.02% 0.0727 -0.0631)
OKLCHoklch(67.02% 0.096 319.1)
XYZxyz(34.6302, 28.6679, 50.7133)
Luminance0.2867 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF82BB #8EBB82
analogous
#9282BB #AF82BB #BB82AB
triadic
#AF82BB #BBAF82 #82BBAF
tetradic
#AF82BB #BB9282 #8EBB82 #82ABBB
square
#AF82BB #BB9282 #8EBB82 #82ABBB
split-complementary
#AF82BB #ABBB82 #82BB92
monochromatic
#72457E #965AA5 #AF82BB #C8AAD1 #E2D1E6

Accessibility & contrast

On white

3.12
#AF82BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#AF82BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF82BB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF82BB#FFFFFF#000000##000000
##AF82BB1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8FBD
Deuteranopia (green-blind)
#8593B9
Tritanopia (blue-blind)
#B08897
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #af82bb;
/* rgb */ color: rgb(175, 130, 187);
/* oklch */ color: oklch(67.0% 0.096 319.1);
Tailwind
colors: {
  custom: {
    50: '#c7a7cf',
    500: '#af82bb',
    950: '#000000',
  },
}
SCSS
$custom: #af82bb;
$custom-light: #c7a7cf;
$custom-dark: #000000;
JSON
{
  "hex": "#af82bb",
  "rgb": {
    "r": 175,
    "g": 130,
    "b": 187
  },
  "hsl": {
    "h": 287.368,
    "s": 29.534,
    "l": 62.157
  },
  "oklch": {
    "l": 0.67021,
    "c": 0.09627,
    "h": 319.1
  },
  "luminance": 0.28667
}

Semantic roles & 50–950 ramp

primary
#AF82BB
secondary
#C6D7C2
accent
#A83D54
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#130F14
muted
#827F82

Preview Lab

Preview with #AF82BB

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

Preview Lab → · Contrast checker → · Palette generator →

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