#AA8FC7#AA8FC7

#AA8FC7 is a light, moderate violet. Relative luminance 0.323; OKLCH L 69.4% C 0.086 H 306.3°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#AA8FC7
RGBrgb(170, 143, 199)
HSLhsl(269, 33%, 67%)
HSVhsv(269, 28%, 78%)
CMYKcmyk(14.6%, 28.1%, 0%, 22%)
CIE-LABlab(63.60, 21.00, -25.18)
CIE-LCHlch(63.60, 32.79, 309.83°)
OKLaboklab(69.44% 0.0506 -0.069)
OKLCHoklch(69.44% 0.086 306.3)
XYZxyz(36.7069, 32.3147, 58.3253)
Luminance0.3231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8FC7 #ACC78F
analogous
#8F90C7 #AA8FC7 #C68FC7
triadic
#AA8FC7 #C7AA8F #8FC7AA
tetradic
#AA8FC7 #C78F90 #ACC78F #8FC7C6
square
#AA8FC7 #C78F90 #ACC78F #8FC7C6
split-complementary
#AA8FC7 #C7C68F #90C78F
monochromatic
#6C4992 #8B66B3 #AA8FC7 #C9B8DB #E8E1F0

Accessibility & contrast

On white

2.81
#AA8FC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#AA8FC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8FC7
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8FC7#FFFFFF#000000##000000
##AA8FC71.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8599C9
Deuteranopia (green-blind)
#8A9AC5
Tritanopia (blue-blind)
#A697A3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #aa8fc7;
/* rgb */ color: rgb(170, 143, 199);
/* oklch */ color: oklch(69.4% 0.086 306.3);
Tailwind
colors: {
  custom: {
    50: '#c4b0d8',
    500: '#aa8fc7',
    950: '#000000',
  },
}
SCSS
$custom: #aa8fc7;
$custom-light: #c4b0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8fc7",
  "rgb": {
    "r": 170,
    "g": 143,
    "b": 199
  },
  "hsl": {
    "h": 268.929,
    "s": 33.333,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69441,
    "c": 0.08557,
    "h": 306.3
  },
  "luminance": 0.32314
}

Semantic roles & 50–950 ramp

primary
#AA8FC7
secondary
#D9E2D0
accent
#AC3975
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#121014
muted
#817F83

Preview Lab

Preview with #AA8FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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