#AA97F2#AA97F2

#AA97F2 is a light, vivid violet. Relative luminance 0.371; OKLCH L 72.9% C 0.131 H 292.4°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#AA97F2
RGBrgb(170, 151, 242)
HSLhsl(253, 78%, 77%)
HSVhsv(253, 38%, 95%)
CMYKcmyk(29.8%, 37.6%, 0%, 5.1%)
CIE-LABlab(67.34, 26.57, -43.19)
CIE-LCHlch(67.34, 50.71, 301.60°)
OKLaboklab(72.89% 0.0498 -0.1206)
OKLCHoklch(72.89% 0.131 292.4)
XYZxyz(43.6672, 37.0893, 88.8455)
Luminance0.3709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA97F2 #DFF297
analogous
#97B2F2 #AA97F2 #D797F2
triadic
#AA97F2 #F2AA97 #97F2AA
tetradic
#AA97F2 #F297B2 #DFF297 #97F2D7
square
#AA97F2 #F297B2 #DFF297 #97F2D7
split-complementary
#AA97F2 #F2D797 #B2F297
monochromatic
#512AE4 #7E61EB #AA97F2 #D6CDF9 #E9E4FC

Accessibility & contrast

On white

2.49
#AA97F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#AA97F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA97F2
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA97F2#FFFFFF#000000##000000
##AA97F21.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA5F6
Deuteranopia (green-blind)
#7FA2F0
Tritanopia (blue-blind)
#9AA7B9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aa97f2;
/* rgb */ color: rgb(170, 151, 242);
/* oklch */ color: oklch(72.9% 0.131 292.4);
Tailwind
colors: {
  custom: {
    50: '#c5b5f6',
    500: '#aa97f2',
    950: '#000000',
  },
}
SCSS
$custom: #aa97f2;
$custom-light: #c5b5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa97f2",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 252.527,
    "s": 77.778,
    "l": 77.059
  },
  "oklch": {
    "l": 0.72892,
    "c": 0.13052,
    "h": 292.4
  },
  "luminance": 0.3709
}

Semantic roles & 50–950 ramp

primary
#AA97F2
secondary
#EEF3D8
accent
#DA0BAF
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #AA97F2

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

Preview Lab → · Contrast checker → · Palette generator →

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