#AA97CF#AA97CF

#AA97CF is a light, moderate violet. Relative luminance 0.352; OKLCH L 71.3% C 0.083 H 299.9°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#AA97CF
RGBrgb(170, 151, 207)
HSLhsl(260, 37%, 70%)
HSVhsv(260, 27%, 81%)
CMYKcmyk(17.9%, 27.1%, 0%, 18.8%)
CIE-LABlab(65.89, 18.26, -26.13)
CIE-LCHlch(65.89, 31.88, 304.94°)
OKLaboklab(71.3% 0.0412 -0.0717)
OKLCHoklch(71.3% 0.083 299.9)
XYZxyz(38.9043, 35.1842, 63.7610)
Luminance0.3518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA97CF #BCCF97
analogous
#97A0CF #AA97CF #C697CF
triadic
#AA97CF #CFAA97 #97CFAA
tetradic
#AA97CF #CF97A0 #BCCF97 #97CFC6
square
#AA97CF #CF97A0 #BCCF97 #97CFC6
split-complementary
#AA97CF #CFC697 #A0CF97
monochromatic
#684AA1 #886DBC #AA97CF #CCC1E2 #EEEAF5

Accessibility & contrast

On white

2.61
#AA97CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#AA97CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA97CF
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA97CF#FFFFFF#000000##000000
##AA97CF1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA0D1
Deuteranopia (green-blind)
#8EA0CD
Tritanopia (blue-blind)
#A49FAB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aa97cf;
/* rgb */ color: rgb(170, 151, 207);
/* oklch */ color: oklch(71.3% 0.083 299.9);
Tailwind
colors: {
  custom: {
    50: '#c4b5dd',
    500: '#aa97cf',
    950: '#000000',
  },
}
SCSS
$custom: #aa97cf;
$custom-light: #c4b5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa97cf",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 207
  },
  "hsl": {
    "h": 260.357,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71302,
    "c": 0.0827,
    "h": 299.9
  },
  "luminance": 0.35184
}

Semantic roles & 50–950 ramp

primary
#AA97CF
secondary
#E3E9D9
accent
#B03686
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#121115
muted
#818083

Preview Lab

Preview with #AA97CF

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

Preview Lab → · Contrast checker → · Palette generator →

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