#AF7DBF#AF7DBF

#AF7DBF is a light, moderate purple. Relative luminance 0.275; OKLCH L 66.3% C 0.110 H 317.8°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AF7DBF
RGBrgb(175, 125, 191)
HSLhsl(285, 34%, 62%)
HSVhsv(285, 35%, 75%)
CMYKcmyk(8.4%, 34.6%, 0%, 25.1%)
CIE-LABlab(59.47, 31.06, -26.98)
CIE-LCHlch(59.47, 41.14, 319.01°)
OKLaboklab(66.3% 0.0814 -0.0739)
OKLCHoklch(66.3% 0.11 317.8)
XYZxyz(34.4155, 27.5436, 52.7836)
Luminance0.2754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7DBF #8DBF7D
analogous
#8E7DBF #AF7DBF #BF7DAE
triadic
#AF7DBF #BFAF7D #7DBFAF
tetradic
#AF7DBF #BF8E7D #8DBF7D #7DAEBF
square
#AF7DBF #BF8E7D #8DBF7D #7DAEBF
split-complementary
#AF7DBF #AEBF7D #7DBF8E
monochromatic
#724082 #9654AB #AF7DBF #C8A6D3 #E1CFE7

Accessibility & contrast

On white

3.23
#AF7DBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#AF7DBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7DBF
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7DBF#FFFFFF#000000##000000
##AF7DBF1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#748CC2
Deuteranopia (green-blind)
#8091BD
Tritanopia (blue-blind)
#AF8595
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af7dbf;
/* rgb */ color: rgb(175, 125, 191);
/* oklch */ color: oklch(66.3% 0.110 317.8);
Tailwind
colors: {
  custom: {
    50: '#c8a3d2',
    500: '#af7dbf',
    950: '#000000',
  },
}
SCSS
$custom: #af7dbf;
$custom-light: #c8a3d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af7dbf",
  "rgb": {
    "r": 175,
    "g": 125,
    "b": 191
  },
  "hsl": {
    "h": 285.455,
    "s": 34.021,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66303,
    "c": 0.10992,
    "h": 317.8
  },
  "luminance": 0.27543
}

Semantic roles & 50–950 ramp

primary
#AF7DBF
secondary
#C6D8C0
accent
#AD3955
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#130F14
muted
#827F82

Preview Lab

Preview with #AF7DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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