#AF8AAA#AF8AAA

#AF8AAA is a light, moderate purple. Relative luminance 0.302; OKLCH L 67.8% C 0.063 H 330.8°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#AF8AAA
RGBrgb(175, 138, 170)
HSLhsl(308, 19%, 61%)
HSVhsv(308, 21%, 69%)
CMYKcmyk(0%, 21.1%, 2.9%, 31.4%)
CIE-LABlab(61.82, 19.58, -11.48)
CIE-LCHlch(61.82, 22.70, 329.61°)
OKLaboklab(67.85% 0.055 -0.0307)
OKLCHoklch(67.85% 0.063 330.8)
XYZxyz(34.0227, 30.1941, 42.0582)
Luminance0.3019 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8AAA #8AAF8F
analogous
#A28AAF #AF8AAA #AF8A98
triadic
#AF8AAA #AAAF8A #8AAAAF
tetradic
#AF8AAA #AFA28A #8AAF8F #8A98AF
square
#AF8AAA #AFA28A #8AAF8F #8A98AF
split-complementary
#AF8AAA #98AF8A #8AAFA2
monochromatic
#714D6C #96668F #AF8AAA #C8AEC4 #E1D3DF

Accessibility & contrast

On white

2.98
#AF8AAA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#AF8AAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8AAA
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8AAA#FFFFFF#000000##000000
##AF8AAA1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8992AB
Deuteranopia (green-blind)
#9197A9
Tritanopia (blue-blind)
#B28C95
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af8aaa;
/* rgb */ color: rgb(175, 138, 170);
/* oklch */ color: oklch(67.8% 0.063 330.8);
Tailwind
colors: {
  custom: {
    50: '#c7acc3',
    500: '#af8aaa',
    950: '#000000',
  },
}
SCSS
$custom: #af8aaa;
$custom-light: #c7acc3;
$custom-dark: #000000;
JSON
{
  "hex": "#af8aaa",
  "rgb": {
    "r": 175,
    "g": 138,
    "b": 170
  },
  "hsl": {
    "h": 308.108,
    "s": 18.782,
    "l": 61.373
  },
  "oklch": {
    "l": 0.67845,
    "c": 0.06295,
    "h": 330.8
  },
  "luminance": 0.30193
}

Semantic roles & 50–950 ramp

primary
#AF8AAA
secondary
#C3D1C5
accent
#9D5448
background
#FCFAFB
surface
#F8F4F7
border
#D1CED0
text
#131012
muted
#827F81

Preview Lab

Preview with #AF8AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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