#AA8FDB#AA8FDB

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

Color values

HEX#AA8FDB
RGBrgb(170, 143, 219)
HSLhsl(261, 51%, 71%)
HSVhsv(261, 35%, 86%)
CMYKcmyk(22.4%, 34.7%, 0%, 14.1%)
CIE-LABlab(64.41, 25.54, -35.10)
CIE-LCHlch(64.41, 43.41, 306.05°)
OKLaboklab(70.32% 0.0559 -0.0973)
OKLCHoklch(70.32% 0.112 299.9)
XYZxyz(39.1834, 33.3053, 71.3684)
Luminance0.3331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8FDB #C0DB8F
analogous
#8F9ADB #AA8FDB #D08FDB
triadic
#AA8FDB #DBAA8F #8FDBAA
tetradic
#AA8FDB #DB8F9A #C0DB8F #8FDBD0
square
#AA8FDB #DB8F9A #C0DB8F #8FDBD0
split-complementary
#AA8FDB #DBD08F #9ADB8F
monochromatic
#663AB5 #8761CC #AA8FDB #CDBDEA #EDE8F8

Accessibility & contrast

On white

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

On black

7.66
#AA8FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8FDB
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8FDB#FFFFFF#000000##000000
##AA8FDB1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa8fdb;
/* rgb */ color: rgb(170, 143, 219);
/* oklch */ color: oklch(70.3% 0.112 299.9);
Tailwind
colors: {
  custom: {
    50: '#c4b0e6',
    500: '#aa8fdb',
    950: '#000000',
  },
}
SCSS
$custom: #aa8fdb;
$custom-light: #c4b0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8fdb",
  "rgb": {
    "r": 170,
    "g": 143,
    "b": 219
  },
  "hsl": {
    "h": 261.316,
    "s": 51.351,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70323,
    "c": 0.11215,
    "h": 299.9
  },
  "luminance": 0.33305
}

Semantic roles & 50–950 ramp

primary
#AA8FDB
secondary
#E6EDD9
accent
#BF2789
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AA8FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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