#AF7BB7#AF7BB7

#AF7BB7 is a light, moderate purple. Relative luminance 0.267; OKLCH L 65.6% C 0.105 H 322.0°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AF7BB7
RGBrgb(175, 123, 183)
HSLhsl(292, 29%, 60%)
HSVhsv(292, 33%, 72%)
CMYKcmyk(4.4%, 32.8%, 0%, 28.2%)
CIE-LABlab(58.70, 30.55, -23.63)
CIE-LCHlch(58.70, 38.62, 322.28°)
OKLaboklab(65.61% 0.0824 -0.0644)
OKLCHoklch(65.61% 0.105 322)
XYZxyz(33.3084, 26.6998, 48.1895)
Luminance0.2670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7BB7 #83B77B
analogous
#917BB7 #AF7BB7 #B77BA1
triadic
#AF7BB7 #B7AF7B #7BB7AF
tetradic
#AF7BB7 #B7917B #83B77B #7BA1B7
square
#AF7BB7 #B7917B #83B77B #7BA1B7
split-complementary
#AF7BB7 #A1B77B #7BB791
monochromatic
#704177 #95569E #AF7BB7 #C7A3CD #DFCAE2

Accessibility & contrast

On white

3.31
#AF7BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#AF7BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7BB7
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7BB7#FFFFFF#000000##000000
##AF7BB71.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7589B9
Deuteranopia (green-blind)
#818FB5
Tritanopia (blue-blind)
#B18191
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af7bb7;
/* rgb */ color: rgb(175, 123, 183);
/* oklch */ color: oklch(65.6% 0.105 322.0);
Tailwind
colors: {
  custom: {
    50: '#c7a2cc',
    500: '#af7bb7',
    950: '#000000',
  },
}
SCSS
$custom: #af7bb7;
$custom-light: #c7a2cc;
$custom-dark: #000000;
JSON
{
  "hex": "#af7bb7",
  "rgb": {
    "r": 175,
    "g": 123,
    "b": 183
  },
  "hsl": {
    "h": 292,
    "s": 29.412,
    "l": 60
  },
  "oklch": {
    "l": 0.65608,
    "c": 0.10452,
    "h": 322
  },
  "luminance": 0.26699
}

Semantic roles & 50–950 ramp

primary
#AF7BB7
secondary
#BED2BB
accent
#C6626F
background
#FCFAFC
surface
#F8F3F9
border
#D1CDD2
text
#130F13
muted
#827F82

Preview Lab

Preview with #AF7BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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