#AF88BC#AF88BC

#AF88BC is a light, moderate purple. Relative luminance 0.304; OKLCH L 68.2% C 0.086 H 317.5°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#AF88BC
RGBrgb(175, 136, 188)
HSLhsl(285, 28%, 64%)
HSVhsv(285, 28%, 74%)
CMYKcmyk(6.9%, 27.7%, 0%, 26.3%)
CIE-LABlab(61.96, 24.25, -21.47)
CIE-LCHlch(61.96, 32.39, 318.48°)
OKLaboklab(68.16% 0.0638 -0.0584)
OKLCHoklch(68.16% 0.087 317.5)
XYZxyz(35.5591, 30.3538, 51.5529)
Luminance0.3035 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF88BC #95BC88
analogous
#9588BC #AF88BC #BC88AF
triadic
#AF88BC #BCAF88 #88BCAF
tetradic
#AF88BC #BC9588 #95BC88 #88AFBC
square
#AF88BC #BC9588 #95BC88 #88AFBC
split-complementary
#AF88BC #AFBC88 #88BC95
monochromatic
#734981 #9561A6 #AF88BC #C9AFD2 #E4D6E8

Accessibility & contrast

On white

2.97
#AF88BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#AF88BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF88BC
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF88BC#FFFFFF#000000##000000
##AF88BC1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8293BE
Deuteranopia (green-blind)
#8A97BA
Tritanopia (blue-blind)
#AF8E9A
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af88bc;
/* rgb */ color: rgb(175, 136, 188);
/* oklch */ color: oklch(68.2% 0.086 317.5);
Tailwind
colors: {
  custom: {
    50: '#c7abd0',
    500: '#af88bc',
    950: '#000000',
  },
}
SCSS
$custom: #af88bc;
$custom-light: #c7abd0;
$custom-dark: #000000;
JSON
{
  "hex": "#af88bc",
  "rgb": {
    "r": 175,
    "g": 136,
    "b": 188
  },
  "hsl": {
    "h": 285,
    "s": 27.957,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68157,
    "c": 0.0865,
    "h": 317.5
  },
  "luminance": 0.30353
}

Semantic roles & 50–950 ramp

primary
#AF88BC
secondary
#CBD9C7
accent
#A73F59
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #AF88BC

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

Preview Lab → · Contrast checker → · Palette generator →

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