#AA8DF0#AA8DF0

#AA8DF0 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.0% C 0.143 H 296.0°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#AA8DF0
RGBrgb(170, 141, 240)
HSLhsl(258, 77%, 75%)
HSVhsv(258, 41%, 94%)
CMYKcmyk(29.2%, 41.3%, 0%, 5.9%)
CIE-LABlab(64.87, 31.73, -45.98)
CIE-LCHlch(64.87, 55.86, 304.61°)
OKLaboklab(70.99% 0.0629 -0.1287)
OKLCHoklch(70.99% 0.143 296)
XYZxyz(41.8268, 33.8865, 86.7583)
Luminance0.3389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8DF0 #D3F08D
analogous
#8DA2F0 #AA8DF0 #DC8DF0
triadic
#AA8DF0 #F0AA8D #8DF0AA
tetradic
#AA8DF0 #F08DA2 #D3F08D #8DF0DC
square
#AA8DF0 #F08DA2 #D3F08D #8DF0DC
split-complementary
#AA8DF0 #F0DC8D #A2F08D
monochromatic
#5921E2 #8257E9 #AA8DF0 #D2C3F7 #EBE4FB

Accessibility & contrast

On white

2.70
#AA8DF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#AA8DF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8DF0
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8DF0#FFFFFF#000000##000000
##AA8DF01.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#709EF4
Deuteranopia (green-blind)
#759CEE
Tritanopia (blue-blind)
#9B9FB3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aa8df0;
/* rgb */ color: rgb(170, 141, 240);
/* oklch */ color: oklch(71.0% 0.143 296.0);
Tailwind
colors: {
  custom: {
    50: '#c5aef5',
    500: '#aa8df0',
    950: '#000000',
  },
}
SCSS
$custom: #aa8df0;
$custom-light: #c5aef5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8df0",
  "rgb": {
    "r": 170,
    "g": 141,
    "b": 240
  },
  "hsl": {
    "h": 257.576,
    "s": 76.744,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70985,
    "c": 0.14324,
    "h": 296
  },
  "luminance": 0.33887
}

Semantic roles & 50–950 ramp

primary
#AA8DF0
secondary
#EBF3D8
accent
#D90D9D
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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