#AA8FDA#AA8FDA

#AA8FDA is a light, moderate violet. Relative luminance 0.333; OKLCH L 70.3% C 0.111 H 300.1°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#AA8FDA
RGBrgb(170, 143, 218)
HSLhsl(262, 50%, 71%)
HSVhsv(262, 34%, 85%)
CMYKcmyk(22%, 34.4%, 0%, 14.5%)
CIE-LABlab(64.37, 25.31, -34.61)
CIE-LCHlch(64.37, 42.88, 306.18°)
OKLaboklab(70.28% 0.0556 -0.0958)
OKLCHoklch(70.28% 0.111 300.1)
XYZxyz(39.0521, 33.2528, 70.6771)
Luminance0.3325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8FDA #BFDA8F
analogous
#8F99DA #AA8FDA #CF8FDA
triadic
#AA8FDA #DAAA8F #8FDAAA
tetradic
#AA8FDA #DA8F99 #BFDA8F #8FDACF
square
#AA8FDA #DA8F99 #BFDA8F #8FDACF
split-complementary
#AA8FDA #DACF8F #99DA8F
monochromatic
#663BB3 #8761CB #AA8FDA #CDBDE9 #EEE8F7

Accessibility & contrast

On white

2.74
#AA8FDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#AA8FDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8FDA
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8FDA#FFFFFF#000000##000000
##AA8FDA1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9CDD
Deuteranopia (green-blind)
#829CD8
Tritanopia (blue-blind)
#A19BAB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #aa8fda;
/* rgb */ color: rgb(170, 143, 218);
/* oklch */ color: oklch(70.3% 0.111 300.1);
Tailwind
colors: {
  custom: {
    50: '#c4b0e5',
    500: '#aa8fda',
    950: '#000000',
  },
}
SCSS
$custom: #aa8fda;
$custom-light: #c4b0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8fda",
  "rgb": {
    "r": 170,
    "g": 143,
    "b": 218
  },
  "hsl": {
    "h": 261.6,
    "s": 50.336,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70276,
    "c": 0.11081,
    "h": 300.1
  },
  "luminance": 0.33253
}

Semantic roles & 50–950 ramp

primary
#AA8FDA
secondary
#E5ECD8
accent
#BE2888
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AA8FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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