#AF7DBB#AF7DBB

#AF7DBB is a light, moderate purple. Relative luminance 0.274; OKLCH L 66.1% C 0.105 H 319.7°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#AF7DBB
RGBrgb(175, 125, 187)
HSLhsl(288, 31%, 61%)
HSVhsv(288, 33%, 73%)
CMYKcmyk(6.4%, 33.2%, 0%, 26.7%)
CIE-LABlab(59.32, 30.24, -24.96)
CIE-LCHlch(59.32, 39.21, 320.47°)
OKLaboklab(66.13% 0.0804 -0.0681)
OKLCHoklch(66.13% 0.105 319.7)
XYZxyz(33.9813, 27.3699, 50.4969)
Luminance0.2737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7DBB #89BB7D
analogous
#907DBB #AF7DBB #BB7DA8
triadic
#AF7DBB #BBAF7D #7DBBAF
tetradic
#AF7DBB #BB907D #89BB7D #7DA8BB
square
#AF7DBB #BB907D #89BB7D #7DA8BB
split-complementary
#AF7DBB #A8BB7D #7DBB90
monochromatic
#71417C #9556A5 #AF7DBB #C8A5D0 #E0CDE5

Accessibility & contrast

On white

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

On black

6.47
#AF7DBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7DBB
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7DBB#FFFFFF#000000##000000
##AF7DBB1.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af7dbb;
/* rgb */ color: rgb(175, 125, 187);
/* oklch */ color: oklch(66.1% 0.105 319.7);
Tailwind
colors: {
  custom: {
    50: '#c7a3cf',
    500: '#af7dbb',
    950: '#000000',
  },
}
SCSS
$custom: #af7dbb;
$custom-light: #c7a3cf;
$custom-dark: #000000;
JSON
{
  "hex": "#af7dbb",
  "rgb": {
    "r": 175,
    "g": 125,
    "b": 187
  },
  "hsl": {
    "h": 288.387,
    "s": 31.313,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6613,
    "c": 0.10535,
    "h": 319.7
  },
  "luminance": 0.27369
}

Semantic roles & 50–950 ramp

primary
#AF7DBB
secondary
#C3D6BE
accent
#AA3B51
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#130F14
muted
#827F82

Preview Lab

Preview with #AF7DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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