#AF7EAA#AF7EAA

#AF7EAA is a light, moderate purple. Relative luminance 0.269; OKLCH L 65.6% C 0.085 H 330.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AF7EAA
RGBrgb(175, 126, 170)
HSLhsl(306, 23%, 59%)
HSVhsv(306, 28%, 69%)
CMYKcmyk(0%, 28%, 2.9%, 31.4%)
CIE-LABlab(58.92, 26.34, -15.86)
CIE-LCHlch(58.92, 30.74, 328.95°)
OKLaboklab(65.62% 0.0739 -0.0426)
OKLCHoklch(65.62% 0.085 330)
XYZxyz(32.3952, 26.9391, 41.5157)
Luminance0.2694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7EAA #7EAF83
analogous
#9C7EAF #AF7EAA #AF7E92
triadic
#AF7EAA #AAAF7E #7EAAAF
tetradic
#AF7EAA #AF9C7E #7EAF83 #7E92AF
square
#AF7EAA #AF9C7E #7EAF83 #7E92AF
split-complementary
#AF7EAA #92AF7E #7EAF9C
monochromatic
#6E446A #945C8E #AF7EAA #C6A4C3 #DECADC

Accessibility & contrast

On white

3.29
#AF7EAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#AF7EAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7EAA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7EAA#FFFFFF#000000##000000
##AF7EAA1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8AAC
Deuteranopia (green-blind)
#8890A8
Tritanopia (blue-blind)
#B3818E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #af7eaa;
/* rgb */ color: rgb(175, 126, 170);
/* oklch */ color: oklch(65.6% 0.085 330.0);
Tailwind
colors: {
  custom: {
    50: '#c7a4c3',
    500: '#af7eaa',
    950: '#000000',
  },
}
SCSS
$custom: #af7eaa;
$custom-light: #c7a4c3;
$custom-dark: #000000;
JSON
{
  "hex": "#af7eaa",
  "rgb": {
    "r": 175,
    "g": 126,
    "b": 170
  },
  "hsl": {
    "h": 306.122,
    "s": 23.445,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65619,
    "c": 0.08533,
    "h": 330
  },
  "luminance": 0.26938
}

Semantic roles & 50–950 ramp

primary
#AF7EAA
secondary
#BBCEBD
accent
#C07168
background
#FCFAFC
surface
#F8F4F8
border
#D1CED1
text
#130F12
muted
#827F81

Preview Lab

Preview with #AF7EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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