#AA98E8#AA98E8

#AA98E8 is a light, moderate violet. Relative luminance 0.368; OKLCH L 72.6% C 0.115 H 293.7°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#AA98E8
RGBrgb(170, 152, 232)
HSLhsl(254, 63%, 75%)
HSVhsv(254, 34%, 91%)
CMYKcmyk(26.7%, 34.5%, 0%, 9%)
CIE-LABlab(67.15, 23.55, -38.01)
CIE-LCHlch(67.15, 44.72, 301.78°)
OKLaboklab(72.6% 0.0463 -0.1057)
OKLCHoklch(72.6% 0.115 293.7)
XYZxyz(42.3678, 36.8281, 81.2047)
Luminance0.3683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA98E8 #D6E898
analogous
#98AEE8 #AA98E8 #D298E8
triadic
#AA98E8 #E8AA98 #98E8AA
tetradic
#AA98E8 #E898AE #D6E898 #98E8D2
square
#AA98E8 #E898AE #D6E898 #98E8D2
split-complementary
#AA98E8 #E8D298 #AEE898
monochromatic
#5734D2 #8166DD #AA98E8 #D3CAF3 #EAE6F9

Accessibility & contrast

On white

2.51
#AA98E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#AA98E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA98E8
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA98E8#FFFFFF#000000##000000
##AA98E81.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A4EB
Deuteranopia (green-blind)
#85A2E6
Tritanopia (blue-blind)
#9DA6B5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aa98e8;
/* rgb */ color: rgb(170, 152, 232);
/* oklch */ color: oklch(72.6% 0.115 293.7);
Tailwind
colors: {
  custom: {
    50: '#c5b6ef',
    500: '#aa98e8',
    950: '#000000',
  },
}
SCSS
$custom: #aa98e8;
$custom-light: #c5b6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#aa98e8",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 232
  },
  "hsl": {
    "h": 253.5,
    "s": 63.492,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72598,
    "c": 0.11536,
    "h": 293.7
  },
  "luminance": 0.36829
}

Semantic roles & 50–950 ramp

primary
#AA98E8
secondary
#ECF1DA
accent
#CB1AA3
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AA98E8

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

Preview Lab → · Contrast checker → · Palette generator →

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