#AF7EAE#AF7EAE

#AF7EAE is a light, moderate purple. Relative luminance 0.271; OKLCH L 65.8% C 0.089 H 327.2°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#AF7EAE
RGBrgb(175, 126, 174)
HSLhsl(301, 23%, 59%)
HSVhsv(301, 28%, 69%)
CMYKcmyk(0%, 28%, 0.6%, 31.4%)
CIE-LABlab(59.06, 27.10, -17.93)
CIE-LCHlch(59.06, 32.50, 326.51°)
OKLaboklab(65.77% 0.0751 -0.0484)
OKLCHoklch(65.77% 0.089 327.2)
XYZxyz(32.7793, 27.0927, 43.5389)
Luminance0.2709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7EAE #7EAF7F
analogous
#987EAF #AF7EAE #AF7E96
triadic
#AF7EAE #AEAF7E #7EAEAF
tetradic
#AF7EAE #AF987E #7EAF7F #7E96AF
square
#AF7EAE #AF987E #7EAF7F #7E96AF
split-complementary
#AF7EAE #96AF7E #7EAF98
monochromatic
#6E446D #945C93 #AF7EAE #C6A4C6 #DECADD

Accessibility & contrast

On white

3.27
#AF7EAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#AF7EAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7EAE
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7EAE#FFFFFF#000000##000000
##AF7EAE1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8AB0
Deuteranopia (green-blind)
#8790AC
Tritanopia (blue-blind)
#B2828F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #af7eae;
/* rgb */ color: rgb(175, 126, 174);
/* oklch */ color: oklch(65.8% 0.089 327.2);
Tailwind
colors: {
  custom: {
    50: '#c7a4c6',
    500: '#af7eae',
    950: '#000000',
  },
}
SCSS
$custom: #af7eae;
$custom-light: #c7a4c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af7eae",
  "rgb": {
    "r": 175,
    "g": 126,
    "b": 174
  },
  "hsl": {
    "h": 301.224,
    "s": 23.445,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65774,
    "c": 0.08938,
    "h": 327.2
  },
  "luminance": 0.27092
}

Semantic roles & 50–950 ramp

primary
#AF7EAE
secondary
#BBCEBB
accent
#C06A68
background
#FCFAFC
surface
#F8F4F8
border
#D1CED1
text
#130F13
muted
#827F82

Preview Lab

Preview with #AF7EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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