#AF82BF#AF82BF

#AF82BF is a light, moderate purple. Relative luminance 0.288; OKLCH L 67.2% C 0.101 H 317.0°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#AF82BF
RGBrgb(175, 130, 191)
HSLhsl(284, 32%, 63%)
HSVhsv(284, 32%, 75%)
CMYKcmyk(8.4%, 31.9%, 0%, 25.1%)
CIE-LABlab(60.64, 28.25, -25.19)
CIE-LCHlch(60.64, 37.85, 318.28°)
OKLaboklab(67.19% 0.0738 -0.0688)
OKLCHoklch(67.19% 0.101 317)
XYZxyz(35.0644, 28.8416, 52.9999)
Luminance0.2884 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF82BF #92BF82
analogous
#9082BF #AF82BF #BF82B0
triadic
#AF82BF #BFAF82 #82BFAF
tetradic
#AF82BF #BF9082 #92BF82 #82B0BF
square
#AF82BF #BF9082 #92BF82 #82B0BF
split-complementary
#AF82BF #B0BF82 #82BF90
monochromatic
#734383 #955AAA #AF82BF #C9AAD4 #E3D3E8

Accessibility & contrast

On white

3.10
#AF82BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#AF82BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF82BF
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF82BF#FFFFFF#000000##000000
##AF82BF1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8FC1
Deuteranopia (green-blind)
#8494BD
Tritanopia (blue-blind)
#AF8998
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #af82bf;
/* rgb */ color: rgb(175, 130, 191);
/* oklch */ color: oklch(67.2% 0.101 317.0);
Tailwind
colors: {
  custom: {
    50: '#c7a7d2',
    500: '#af82bf',
    950: '#000000',
  },
}
SCSS
$custom: #af82bf;
$custom-light: #c7a7d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af82bf",
  "rgb": {
    "r": 175,
    "g": 130,
    "b": 191
  },
  "hsl": {
    "h": 284.262,
    "s": 32.275,
    "l": 62.941
  },
  "oklch": {
    "l": 0.67189,
    "c": 0.10091,
    "h": 317
  },
  "luminance": 0.28841
}

Semantic roles & 50–950 ramp

primary
#AF82BF
secondary
#C9D9C3
accent
#AB3A58
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#130F14
muted
#827F82

Preview Lab

Preview with #AF82BF

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

Preview Lab → · Contrast checker → · Palette generator →

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