#AF7BBF#AF7BBF

#AF7BBF is a light, moderate purple. Relative luminance 0.270; OKLCH L 66.0% C 0.114 H 318.0°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#AF7BBF
RGBrgb(175, 123, 191)
HSLhsl(286, 35%, 62%)
HSVhsv(286, 36%, 75%)
CMYKcmyk(8.4%, 35.6%, 0%, 25.1%)
CIE-LABlab(59.01, 32.17, -27.70)
CIE-LCHlch(59.01, 42.45, 319.28°)
OKLaboklab(65.95% 0.0844 -0.0759)
OKLCHoklch(65.95% 0.114 318)
XYZxyz(34.1648, 27.0423, 52.7001)
Luminance0.2704 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7BBF #8BBF7B
analogous
#8D7BBF #AF7BBF #BF7BAD
triadic
#AF7BBF #BFAF7B #7BBFAF
tetradic
#AF7BBF #BF8D7B #8BBF7B #7BADBF
square
#AF7BBF #BF8D7B #8BBF7B #7BADBF
split-complementary
#AF7BBF #ADBF7B #7BBF8D
monochromatic
#713F81 #9653AA #AF7BBF #C8A4D3 #E1CDE7

Accessibility & contrast

On white

3.28
#AF7BBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#AF7BBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7BBF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7BBF#FFFFFF#000000##000000
##AF7BBF1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#728BC2
Deuteranopia (green-blind)
#7E90BD
Tritanopia (blue-blind)
#AF8394
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #af7bbf;
/* rgb */ color: rgb(175, 123, 191);
/* oklch */ color: oklch(66.0% 0.114 318.0);
Tailwind
colors: {
  custom: {
    50: '#c8a2d2',
    500: '#af7bbf',
    950: '#000000',
  },
}
SCSS
$custom: #af7bbf;
$custom-light: #c8a2d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af7bbf",
  "rgb": {
    "r": 175,
    "g": 123,
    "b": 191
  },
  "hsl": {
    "h": 285.882,
    "s": 34.694,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65954,
    "c": 0.1135,
    "h": 318
  },
  "luminance": 0.27041
}

Semantic roles & 50–950 ramp

primary
#AF7BBF
secondary
#C4D8BE
accent
#AE3854
background
#FCFAFC
surface
#F8F3F9
border
#D1CDD2
text
#130F14
muted
#827F82

Preview Lab

Preview with #AF7BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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