#AF7DBC#AF7DBC

#AF7DBC is a light, moderate purple. Relative luminance 0.274; OKLCH L 66.2% C 0.106 H 319.2°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AF7DBC
RGBrgb(175, 125, 188)
HSLhsl(288, 32%, 61%)
HSVhsv(288, 34%, 74%)
CMYKcmyk(6.9%, 33.5%, 0%, 26.3%)
CIE-LABlab(59.35, 30.44, -25.46)
CIE-LCHlch(59.35, 39.69, 320.09°)
OKLaboklab(66.17% 0.0806 -0.0696)
OKLCHoklch(66.17% 0.106 319.2)
XYZxyz(34.0887, 27.4129, 51.0627)
Luminance0.2741 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7DBC #8ABC7D
analogous
#907DBC #AF7DBC #BC7DAA
triadic
#AF7DBC #BCAF7D #7DBCAF
tetradic
#AF7DBC #BC907D #8ABC7D #7DAABC
square
#AF7DBC #BC907D #8ABC7D #7DAABC
split-complementary
#AF7DBC #AABC7D #7DBC90
monochromatic
#71417E #9656A6 #AF7DBC #C8A5D1 #E1CEE6

Accessibility & contrast

On white

3.24
#AF7DBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#AF7DBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7DBC
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7DBC#FFFFFF#000000##000000
##AF7DBC1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#758CBE
Deuteranopia (green-blind)
#8191BA
Tritanopia (blue-blind)
#B08494
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af7dbc;
/* rgb */ color: rgb(175, 125, 188);
/* oklch */ color: oklch(66.2% 0.106 319.2);
Tailwind
colors: {
  custom: {
    50: '#c7a3d0',
    500: '#af7dbc',
    950: '#000000',
  },
}
SCSS
$custom: #af7dbc;
$custom-light: #c7a3d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af7dbc",
  "rgb": {
    "r": 175,
    "g": 125,
    "b": 188
  },
  "hsl": {
    "h": 287.619,
    "s": 31.98,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66173,
    "c": 0.10648,
    "h": 319.2
  },
  "luminance": 0.27412
}

Semantic roles & 50–950 ramp

primary
#AF7DBC
secondary
#C3D6BF
accent
#AB3B52
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#130F14
muted
#827F82

Preview Lab

Preview with #AF7DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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