#AF7AAA#AF7AAA

#AF7AAA is a light, moderate purple. Relative luminance 0.259; OKLCH L 64.9% C 0.093 H 329.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AF7AAA
RGBrgb(175, 122, 170)
HSLhsl(306, 25%, 58%)
HSVhsv(306, 30%, 69%)
CMYKcmyk(0%, 30.3%, 2.9%, 31.4%)
CIE-LABlab(57.98, 28.59, -17.29)
CIE-LCHlch(57.98, 33.41, 328.84°)
OKLaboklab(64.9% 0.0802 -0.0466)
OKLCHoklch(64.9% 0.093 329.9)
XYZxyz(31.8939, 25.9365, 41.3486)
Luminance0.2594 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7AAA #7AAF7F
analogous
#997AAF #AF7AAA #AF7A8F
triadic
#AF7AAA #AAAF7A #7AAAAF
tetradic
#AF7AAA #AF997A #7AAF7F #7A8FAF
square
#AF7AAA #AF997A #7AAF7F #7A8FAF
split-complementary
#AF7AAA #8FAF7A #7AAF99
monochromatic
#6D4269 #93598E #AF7AAA #C6A0C2 #DDC6DB

Accessibility & contrast

On white

3.39
#AF7AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#AF7AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7AAA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7AAA#FFFFFF#000000##000000
##AF7AAA1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7887AC
Deuteranopia (green-blind)
#858EA8
Tritanopia (blue-blind)
#B37E8B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af7aaa;
/* rgb */ color: rgb(175, 122, 170);
/* oklch */ color: oklch(64.9% 0.093 329.9);
Tailwind
colors: {
  custom: {
    50: '#c7a1c3',
    500: '#af7aaa',
    950: '#000000',
  },
}
SCSS
$custom: #af7aaa;
$custom-light: #c7a1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#af7aaa",
  "rgb": {
    "r": 175,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 305.66,
    "s": 24.883,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64901,
    "c": 0.09275,
    "h": 329.9
  },
  "luminance": 0.25935
}

Semantic roles & 50–950 ramp

primary
#AF7AAA
secondary
#B8CDBA
accent
#C16F66
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130F12
muted
#827E81

Preview Lab

Preview with #AF7AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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