#AA99CF#AA99CF

#AA99CF is a light, moderate violet. Relative luminance 0.358; OKLCH L 71.7% C 0.079 H 298.8°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#AA99CF
RGBrgb(170, 153, 207)
HSLhsl(259, 36%, 71%)
HSVhsv(259, 26%, 81%)
CMYKcmyk(17.9%, 26.1%, 0%, 18.8%)
CIE-LABlab(66.39, 17.13, -25.36)
CIE-LCHlch(66.39, 30.61, 304.04°)
OKLaboklab(71.69% 0.0383 -0.0695)
OKLCHoklch(71.69% 0.079 298.8)
XYZxyz(39.2289, 35.8334, 63.8692)
Luminance0.3583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA99CF #BECF99
analogous
#99A3CF #AA99CF #C599CF
triadic
#AA99CF #CFAA99 #99CFAA
tetradic
#AA99CF #CF99A3 #BECF99 #99CFC5
square
#AA99CF #CF99A3 #BECF99 #99CFC5
split-complementary
#AA99CF #CFC599 #A3CF99
monochromatic
#674CA2 #876FBB #AA99CF #CDC3E3 #EEEAF5

Accessibility & contrast

On white

2.57
#AA99CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#AA99CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA99CF
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA99CF#FFFFFF#000000##000000
##AA99CF1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA1D1
Deuteranopia (green-blind)
#90A1CD
Tritanopia (blue-blind)
#A3A1AC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aa99cf;
/* rgb */ color: rgb(170, 153, 207);
/* oklch */ color: oklch(71.7% 0.079 298.8);
Tailwind
colors: {
  custom: {
    50: '#c4b7dd',
    500: '#aa99cf',
    950: '#000000',
  },
}
SCSS
$custom: #aa99cf;
$custom-light: #c4b7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa99cf",
  "rgb": {
    "r": 170,
    "g": 153,
    "b": 207
  },
  "hsl": {
    "h": 258.889,
    "s": 36,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71687,
    "c": 0.07938,
    "h": 298.8
  },
  "luminance": 0.35834
}

Semantic roles & 50–950 ramp

primary
#AA99CF
secondary
#E5E9DB
accent
#AF3789
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#121115
muted
#818083

Preview Lab

Preview with #AA99CF

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

Preview Lab → · Contrast checker → · Palette generator →

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