#AA8EF3#AA8EF3

#AA8EF3 is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.3% C 0.146 H 295.2°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#AA8EF3
RGBrgb(170, 142, 243)
HSLhsl(257, 81%, 75%)
HSVhsv(257, 42%, 95%)
CMYKcmyk(30%, 41.6%, 0%, 4.7%)
CIE-LABlab(65.25, 31.90, -47.04)
CIE-LCHlch(65.25, 56.84, 304.15°)
OKLaboklab(71.32% 0.0621 -0.1318)
OKLCHoklch(71.32% 0.146 295.2)
XYZxyz(42.4242, 34.3625, 89.1741)
Luminance0.3436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8EF3 #D7F38E
analogous
#8EA4F3 #AA8EF3 #DD8EF3
triadic
#AA8EF3 #F3AA8E #8EF3AA
tetradic
#AA8EF3 #F38EA4 #D7F38E #8EF3DD
square
#AA8EF3 #F38EA4 #D7F38E #8EF3DD
split-complementary
#AA8EF3 #F3DD8E #A4F38E
monochromatic
#571FE7 #8057ED #AA8EF3 #D4C5F9 #EAE3FC

Accessibility & contrast

On white

2.67
#AA8EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#AA8EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8EF3
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8EF3#FFFFFF#000000##000000
##AA8EF31.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF7
Deuteranopia (green-blind)
#749DF0
Tritanopia (blue-blind)
#9AA0B5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aa8ef3;
/* rgb */ color: rgb(170, 142, 243);
/* oklch */ color: oklch(71.3% 0.146 295.2);
Tailwind
colors: {
  custom: {
    50: '#c5aff7',
    500: '#aa8ef3',
    950: '#000000',
  },
}
SCSS
$custom: #aa8ef3;
$custom-light: #c5aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8ef3",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 243
  },
  "hsl": {
    "h": 256.634,
    "s": 80.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71316,
    "c": 0.14564,
    "h": 295.2
  },
  "luminance": 0.34363
}

Semantic roles & 50–950 ramp

primary
#AA8EF3
secondary
#ECF4D7
accent
#DD08A2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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