#AA90EC#AA90EC

#AA90EC is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.3% C 0.133 H 295.8°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#AA90EC
RGBrgb(170, 144, 236)
HSLhsl(257, 71%, 75%)
HSVhsv(257, 39%, 93%)
CMYKcmyk(28%, 39%, 0%, 7.5%)
CIE-LABlab(65.40, 29.05, -42.96)
CIE-LCHlch(65.40, 51.86, 304.07°)
OKLaboklab(71.32% 0.0581 -0.1199)
OKLCHoklch(71.32% 0.133 295.8)
XYZxyz(41.6875, 34.5482, 83.8128)
Luminance0.3455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA90EC #D2EC90
analogous
#90A4EC #AA90EC #D890EC
triadic
#AA90EC #ECAA90 #90ECAA
tetradic
#AA90EC #EC90A4 #D2EC90 #90ECD8
square
#AA90EC #EC90A4 #D2EC90 #90ECD8
split-complementary
#AA90EC #ECD890 #A4EC90
monochromatic
#5A27DA #825CE3 #AA90EC #D2C4F5 #EBE5FB

Accessibility & contrast

On white

2.65
#AA90EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#AA90EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA90EC
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA90EC#FFFFFF#000000##000000
##AA90EC1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FF0
Deuteranopia (green-blind)
#7B9EEA
Tritanopia (blue-blind)
#9CA0B3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aa90ec;
/* rgb */ color: rgb(170, 144, 236);
/* oklch */ color: oklch(71.3% 0.133 295.8);
Tailwind
colors: {
  custom: {
    50: '#c5b0f2',
    500: '#aa90ec',
    950: '#000000',
  },
}
SCSS
$custom: #aa90ec;
$custom-light: #c5b0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa90ec",
  "rgb": {
    "r": 170,
    "g": 144,
    "b": 236
  },
  "hsl": {
    "h": 256.957,
    "s": 70.769,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7132,
    "c": 0.13326,
    "h": 295.8
  },
  "luminance": 0.34549
}

Semantic roles & 50–950 ramp

primary
#AA90EC
secondary
#EBF2D9
accent
#D3139D
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131017
muted
#827F85

Preview Lab

Preview with #AA90EC

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

Preview Lab → · Contrast checker → · Palette generator →

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