#AF7BBD#AF7BBD

#AF7BBD is a light, moderate purple. Relative luminance 0.270; OKLCH L 65.9% C 0.111 H 319.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AF7BBD
RGBrgb(175, 123, 189)
HSLhsl(287, 33%, 61%)
HSVhsv(287, 35%, 74%)
CMYKcmyk(7.4%, 34.9%, 0%, 25.9%)
CIE-LABlab(58.93, 31.76, -26.68)
CIE-LCHlch(58.93, 41.48, 319.97°)
OKLaboklab(65.87% 0.0839 -0.073)
OKLCHoklch(65.87% 0.111 319)
XYZxyz(33.9462, 26.9549, 51.5489)
Luminance0.2695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7BBD #89BD7B
analogous
#8E7BBD #AF7BBD #BD7BAA
triadic
#AF7BBD #BDAF7B #7BBDAF
tetradic
#AF7BBD #BD8E7B #89BD7B #7BAABD
square
#AF7BBD #BD8E7B #89BD7B #7BAABD
split-complementary
#AF7BBD #AABD7B #7BBD8E
monochromatic
#713F7E #9554A7 #AF7BBD #C8A4D1 #E0CDE6

Accessibility & contrast

On white

3.29
#AF7BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#AF7BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7BBD
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7BBD#FFFFFF#000000##000000
##AF7BBD1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#728AC0
Deuteranopia (green-blind)
#7F90BB
Tritanopia (blue-blind)
#B08393
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #af7bbd;
/* rgb */ color: rgb(175, 123, 189);
/* oklch */ color: oklch(65.9% 0.111 319.0);
Tailwind
colors: {
  custom: {
    50: '#c8a2d1',
    500: '#af7bbd',
    950: '#000000',
  },
}
SCSS
$custom: #af7bbd;
$custom-light: #c8a2d1;
$custom-dark: #000000;
JSON
{
  "hex": "#af7bbd",
  "rgb": {
    "r": 175,
    "g": 123,
    "b": 189
  },
  "hsl": {
    "h": 287.273,
    "s": 33.333,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65866,
    "c": 0.11123,
    "h": 319
  },
  "luminance": 0.26954
}

Semantic roles & 50–950 ramp

primary
#AF7BBD
secondary
#C3D6BE
accent
#AC3952
background
#FCFAFC
surface
#F8F3F9
border
#D1CDD2
text
#130F14
muted
#827F82

Preview Lab

Preview with #AF7BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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