#AF7BBC#AF7BBC

#AF7BBC is a light, moderate purple. Relative luminance 0.269; OKLCH L 65.8% C 0.110 H 319.4°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#AF7BBC
RGBrgb(175, 123, 188)
HSLhsl(288, 33%, 61%)
HSVhsv(288, 35%, 74%)
CMYKcmyk(6.9%, 34.6%, 0%, 26.3%)
CIE-LABlab(58.89, 31.56, -26.18)
CIE-LCHlch(58.89, 41.00, 320.33°)
OKLaboklab(65.82% 0.0837 -0.0716)
OKLCHoklch(65.82% 0.11 319.4)
XYZxyz(33.8381, 26.9116, 50.9792)
Luminance0.2691 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7BBC #88BC7B
analogous
#8E7BBC #AF7BBC #BC7BA8
triadic
#AF7BBC #BCAF7B #7BBCAF
tetradic
#AF7BBC #BC8E7B #88BC7B #7BA8BC
square
#AF7BBC #BC8E7B #88BC7B #7BA8BC
split-complementary
#AF7BBC #A8BC7B #7BBC8E
monochromatic
#713F7D #9554A6 #AF7BBC #C8A4D1 #E0CCE5

Accessibility & contrast

On white

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

On black

6.38
#AF7BBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7BBC
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7BBC#FFFFFF#000000##000000
##AF7BBC1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#738ABE
Deuteranopia (green-blind)
#7F90BA
Tritanopia (blue-blind)
#B08293
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #af7bbc;
/* rgb */ color: rgb(175, 123, 188);
/* oklch */ color: oklch(65.8% 0.110 319.4);
Tailwind
colors: {
  custom: {
    50: '#c8a2d0',
    500: '#af7bbc',
    950: '#000000',
  },
}
SCSS
$custom: #af7bbc;
$custom-light: #c8a2d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af7bbc",
  "rgb": {
    "r": 175,
    "g": 123,
    "b": 188
  },
  "hsl": {
    "h": 288,
    "s": 32.663,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65822,
    "c": 0.1101,
    "h": 319.4
  },
  "luminance": 0.26911
}

Semantic roles & 50–950 ramp

primary
#AF7BBC
secondary
#C2D6BD
accent
#AB3A51
background
#FCFAFC
surface
#F8F3F9
border
#D1CDD2
text
#130F14
muted
#827F82

Preview Lab

Preview with #AF7BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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