#AA97DF#AA97DF

#AA97DF is a light, moderate violet. Relative luminance 0.360; OKLCH L 72.0% C 0.105 H 295.8°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#AA97DF
RGBrgb(170, 151, 223)
HSLhsl(256, 53%, 73%)
HSVhsv(256, 32%, 87%)
CMYKcmyk(23.8%, 32.3%, 0%, 12.5%)
CIE-LABlab(66.53, 21.96, -34.02)
CIE-LCHlch(66.53, 40.49, 302.84°)
OKLaboklab(72% 0.0455 -0.0942)
OKLCHoklch(72% 0.105 295.8)
XYZxyz(40.9604, 36.0066, 74.5897)
Luminance0.3601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA97DF #CCDF97
analogous
#97A8DF #AA97DF #CE97DF
triadic
#AA97DF #DFAA97 #97DFAA
tetradic
#AA97DF #DF97A8 #CCDF97 #97DFCE
square
#AA97DF #DF97A8 #CCDF97 #97DFCE
split-complementary
#AA97DF #DFCE97 #A8DF97
monochromatic
#5E3BC0 #8468D1 #AA97DF #D0C6ED #ECE8F8

Accessibility & contrast

On white

2.56
#AA97DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#AA97DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA97DF
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA97DF#FFFFFF#000000##000000
##AA97DF1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A2E2
Deuteranopia (green-blind)
#88A1DD
Tritanopia (blue-blind)
#9FA3B1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aa97df;
/* rgb */ color: rgb(170, 151, 223);
/* oklch */ color: oklch(72.0% 0.105 295.8);
Tailwind
colors: {
  custom: {
    50: '#c4b5e9',
    500: '#aa97df',
    950: '#000000',
  },
}
SCSS
$custom: #aa97df;
$custom-light: #c4b5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa97df",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 255.833,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71997,
    "c": 0.10462,
    "h": 295.8
  },
  "luminance": 0.36007
}

Semantic roles & 50–950 ramp

primary
#AA97DF
secondary
#EAEFDC
accent
#C02597
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AA97DF

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

Preview Lab → · Contrast checker → · Palette generator →

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