#AA8DF2#AA8DF2

#AA8DF2 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.1% C 0.146 H 295.7°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#AA8DF2
RGBrgb(170, 141, 242)
HSLhsl(257, 80%, 75%)
HSVhsv(257, 42%, 95%)
CMYKcmyk(29.8%, 41.7%, 0%, 5.1%)
CIE-LABlab(64.97, 32.22, -46.93)
CIE-LCHlch(64.97, 56.93, 304.47°)
OKLaboklab(71.09% 0.0632 -0.1315)
OKLCHoklch(71.09% 0.146 295.7)
XYZxyz(42.1255, 34.0060, 88.3316)
Luminance0.3401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8DF2 #D5F28D
analogous
#8DA2F2 #AA8DF2 #DD8DF2
triadic
#AA8DF2 #F2AA8D #8DF2AA
tetradic
#AA8DF2 #F28DA2 #D5F28D #8DF2DD
square
#AA8DF2 #F28DA2 #D5F28D #8DF2DD
split-complementary
#AA8DF2 #F2DD8D #A2F28D
monochromatic
#581FE5 #8156EC #AA8DF2 #D3C4F8 #EBE4FC

Accessibility & contrast

On white

2.69
#AA8DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#AA8DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8DF2
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8DF2#FFFFFF#000000##000000
##AA8DF21.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9EF6
Deuteranopia (green-blind)
#749CEF
Tritanopia (blue-blind)
#9B9FB4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aa8df2;
/* rgb */ color: rgb(170, 141, 242);
/* oklch */ color: oklch(71.1% 0.146 295.7);
Tailwind
colors: {
  custom: {
    50: '#c5aef7',
    500: '#aa8df2',
    950: '#000000',
  },
}
SCSS
$custom: #aa8df2;
$custom-light: #c5aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8df2",
  "rgb": {
    "r": 170,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 257.228,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71087,
    "c": 0.14587,
    "h": 295.7
  },
  "luminance": 0.34007
}

Semantic roles & 50–950 ramp

primary
#AA8DF2
secondary
#ECF4D7
accent
#DC0A9F
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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