#AA8DF7#AA8DF7

#AA8DF7 is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.3% C 0.152 H 294.8°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#AA8DF7
RGBrgb(170, 141, 247)
HSLhsl(256, 87%, 76%)
HSVhsv(256, 43%, 97%)
CMYKcmyk(31.2%, 42.9%, 0%, 3.1%)
CIE-LABlab(65.21, 33.46, -49.30)
CIE-LCHlch(65.21, 59.58, 304.17°)
OKLaboklab(71.35% 0.064 -0.1383)
OKLCHoklch(71.35% 0.152 294.8)
XYZxyz(42.8868, 34.3105, 92.3407)
Luminance0.3431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8DF7 #DAF78D
analogous
#8DA5F7 #AA8DF7 #DF8DF7
triadic
#AA8DF7 #F7AA8D #8DF7AA
tetradic
#AA8DF7 #F78DA5 #DAF78D #8DF7DF
square
#AA8DF7 #F78DA5 #DAF78D #8DF7DF
split-complementary
#AA8DF7 #F7DF8D #A5F78D
monochromatic
#551BEF #7F54F3 #AA8DF7 #D5C6FB #EAE2FD

Accessibility & contrast

On white

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

On black

7.86
#AA8DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8DF7
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8DF7#FFFFFF#000000##000000
##AA8DF71.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9FFB
Deuteranopia (green-blind)
#719DF4
Tritanopia (blue-blind)
#99A0B6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aa8df7;
/* rgb */ color: rgb(170, 141, 247);
/* oklch */ color: oklch(71.3% 0.152 294.8);
Tailwind
colors: {
  custom: {
    50: '#c6aefa',
    500: '#aa8df7',
    950: '#000000',
  },
}
SCSS
$custom: #aa8df7;
$custom-light: #c6aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8df7",
  "rgb": {
    "r": 170,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 256.415,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71348,
    "c": 0.15244,
    "h": 294.8
  },
  "luminance": 0.34311
}

Semantic roles & 50–950 ramp

primary
#AA8DF7
secondary
#EDF5D6
accent
#E302A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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