#AF88BF#AF88BF

#AF88BF is a light, moderate purple. Relative luminance 0.305; OKLCH L 68.3% C 0.090 H 315.9°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#AF88BF
RGBrgb(175, 136, 191)
HSLhsl(283, 30%, 64%)
HSVhsv(283, 29%, 75%)
CMYKcmyk(8.4%, 28.8%, 0%, 25.1%)
CIE-LABlab(62.07, 24.87, -22.99)
CIE-LCHlch(62.07, 33.87, 317.25°)
OKLaboklab(68.28% 0.0647 -0.0627)
OKLCHoklch(68.28% 0.09 315.9)
XYZxyz(35.8859, 30.4845, 53.2738)
Luminance0.3048 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF88BF #98BF88
analogous
#9488BF #AF88BF #BF88B4
triadic
#AF88BF #BFAF88 #88BFAF
tetradic
#AF88BF #BF9488 #98BF88 #88B4BF
square
#AF88BF #BF9488 #98BF88 #88B4BF
split-complementary
#AF88BF #B4BF88 #88BF94
monochromatic
#734885 #9460AA #AF88BF #CAB0D4 #E5D8EA

Accessibility & contrast

On white

2.96
#AF88BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#AF88BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF88BF
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF88BF#FFFFFF#000000##000000
##AF88BF1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8194C1
Deuteranopia (green-blind)
#8997BD
Tritanopia (blue-blind)
#AF8E9C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af88bf;
/* rgb */ color: rgb(175, 136, 191);
/* oklch */ color: oklch(68.3% 0.090 315.9);
Tailwind
colors: {
  custom: {
    50: '#c7abd2',
    500: '#af88bf',
    950: '#000000',
  },
}
SCSS
$custom: #af88bf;
$custom-light: #c7abd2;
$custom-dark: #000000;
JSON
{
  "hex": "#af88bf",
  "rgb": {
    "r": 175,
    "g": 136,
    "b": 191
  },
  "hsl": {
    "h": 282.545,
    "s": 30.055,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68279,
    "c": 0.09008,
    "h": 315.9
  },
  "luminance": 0.30484
}

Semantic roles & 50–950 ramp

primary
#AF88BF
secondary
#CDDBC8
accent
#A93D5C
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #AF88BF

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

Preview Lab → · Contrast checker → · Palette generator →

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