#AA98DF#AA98DF

#AA98DF is a light, moderate violet. Relative luminance 0.363; OKLCH L 72.2% C 0.103 H 295.3°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#AA98DF
RGBrgb(170, 152, 223)
HSLhsl(255, 53%, 74%)
HSVhsv(255, 32%, 87%)
CMYKcmyk(23.8%, 31.8%, 0%, 12.5%)
CIE-LABlab(66.77, 21.39, -33.64)
CIE-LCHlch(66.77, 39.87, 302.45°)
OKLaboklab(72.19% 0.0441 -0.0931)
OKLCHoklch(72.19% 0.103 295.3)
XYZxyz(41.1220, 36.3298, 74.6436)
Luminance0.3633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA98DF #CDDF98
analogous
#98A9DF #AA98DF #CD98DF
triadic
#AA98DF #DFAA98 #98DFAA
tetradic
#AA98DF #DF98A9 #CDDF98 #98DFCD
square
#AA98DF #DF98A9 #CDDF98 #98DFCD
split-complementary
#AA98DF #DFCD98 #A9DF98
monochromatic
#5E3CC1 #8369D0 #AA98DF #D1C7EE #ECE8F8

Accessibility & contrast

On white

2.54
#AA98DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#AA98DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA98DF
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA98DF#FFFFFF#000000##000000
##AA98DF1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A3E2
Deuteranopia (green-blind)
#89A1DD
Tritanopia (blue-blind)
#9FA4B2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aa98df;
/* rgb */ color: rgb(170, 152, 223);
/* oklch */ color: oklch(72.2% 0.103 295.3);
Tailwind
colors: {
  custom: {
    50: '#c4b6e9',
    500: '#aa98df',
    950: '#000000',
  },
}
SCSS
$custom: #aa98df;
$custom-light: #c4b6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa98df",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 255.211,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72186,
    "c": 0.10303,
    "h": 295.3
  },
  "luminance": 0.3633
}

Semantic roles & 50–950 ramp

primary
#AA98DF
secondary
#EAEFDC
accent
#C02599
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AA98DF

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

Preview Lab → · Contrast checker → · Palette generator →

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