#AF7EBF#AF7EBF

#AF7EBF is a light, moderate purple. Relative luminance 0.278; OKLCH L 66.5% C 0.108 H 317.6°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AF7EBF
RGBrgb(175, 126, 191)
HSLhsl(285, 34%, 62%)
HSVhsv(285, 34%, 75%)
CMYKcmyk(8.4%, 34%, 0%, 25.1%)
CIE-LABlab(59.71, 30.50, -26.63)
CIE-LCHlch(59.71, 40.48, 318.88°)
OKLaboklab(66.48% 0.0799 -0.0729)
OKLCHoklch(66.48% 0.108 317.6)
XYZxyz(34.5427, 27.7981, 52.8260)
Luminance0.2780 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7EBF #8EBF7E
analogous
#8F7EBF #AF7EBF #BF7EAF
triadic
#AF7EBF #BFAF7E #7EBFAF
tetradic
#AF7EBF #BF8F7E #8EBF7E #7EAFBF
square
#AF7EBF #BF8F7E #8EBF7E #7EAFBF
split-complementary
#AF7EBF #AFBF7E #7EBF8F
monochromatic
#724182 #9655AB #AF7EBF #C8A7D3 #E2D0E8

Accessibility & contrast

On white

3.20
#AF7EBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#AF7EBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7EBF
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7EBF#FFFFFF#000000##000000
##AF7EBF1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#758DC2
Deuteranopia (green-blind)
#8191BD
Tritanopia (blue-blind)
#AF8696
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #af7ebf;
/* rgb */ color: rgb(175, 126, 191);
/* oklch */ color: oklch(66.5% 0.108 317.6);
Tailwind
colors: {
  custom: {
    50: '#c8a4d2',
    500: '#af7ebf',
    950: '#000000',
  },
}
SCSS
$custom: #af7ebf;
$custom-light: #c8a4d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af7ebf",
  "rgb": {
    "r": 175,
    "g": 126,
    "b": 191
  },
  "hsl": {
    "h": 285.231,
    "s": 33.679,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66478,
    "c": 0.10812,
    "h": 317.6
  },
  "luminance": 0.27797
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF7EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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