#AA98EB#AA98EB

#AA98EB is a light, moderate violet. Relative luminance 0.370; OKLCH L 72.7% C 0.119 H 293.2°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#AA98EB
RGBrgb(170, 152, 235)
HSLhsl(253, 67%, 76%)
HSVhsv(253, 35%, 92%)
CMYKcmyk(27.7%, 35.3%, 0%, 7.8%)
CIE-LABlab(67.28, 24.28, -39.46)
CIE-LCHlch(67.28, 46.33, 301.60°)
OKLaboklab(72.74% 0.047 -0.1098)
OKLCHoklch(72.74% 0.119 293.2)
XYZxyz(42.7975, 37.0000, 83.4681)
Luminance0.3700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA98EB #D9EB98
analogous
#98AFEB #AA98EB #D398EB
triadic
#AA98EB #EBAA98 #98EBAA
tetradic
#AA98EB #EB98AF #D9EB98 #98EBD3
square
#AA98EB #EB98AF #D9EB98 #98EBD3
split-complementary
#AA98EB #EBD398 #AFEB98
monochromatic
#5532D7 #8065E1 #AA98EB #D4CBF5 #EAE5FA

Accessibility & contrast

On white

2.50
#AA98EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#AA98EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA98EB
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA98EB#FFFFFF#000000##000000
##AA98EB1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A5EE
Deuteranopia (green-blind)
#83A2E9
Tritanopia (blue-blind)
#9CA6B7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aa98eb;
/* rgb */ color: rgb(170, 152, 235);
/* oklch */ color: oklch(72.7% 0.119 293.2);
Tailwind
colors: {
  custom: {
    50: '#c5b6f1',
    500: '#aa98eb',
    950: '#000000',
  },
}
SCSS
$custom: #aa98eb;
$custom-light: #c5b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa98eb",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 253.012,
    "s": 67.48,
    "l": 75.882
  },
  "oklch": {
    "l": 0.72739,
    "c": 0.11946,
    "h": 293.2
  },
  "luminance": 0.37001
}

Semantic roles & 50–950 ramp

primary
#AA98EB
secondary
#ECF2D9
accent
#CF16A7
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AA98EB

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

Preview Lab → · Contrast checker → · Palette generator →

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