#AA8FD8#AA8FD8

#AA8FD8 is a light, moderate violet. Relative luminance 0.331; OKLCH L 70.2% C 0.108 H 300.6°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#AA8FD8
RGBrgb(170, 143, 216)
HSLhsl(262, 48%, 70%)
HSVhsv(262, 34%, 85%)
CMYKcmyk(21.3%, 33.8%, 0%, 15.3%)
CIE-LABlab(64.28, 24.84, -33.63)
CIE-LCHlch(64.28, 41.81, 306.46°)
OKLaboklab(70.19% 0.0551 -0.093)
OKLCHoklch(70.19% 0.108 300.6)
XYZxyz(38.7920, 33.1487, 69.3071)
Luminance0.3315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8FD8 #BDD88F
analogous
#8F98D8 #AA8FD8 #CE8FD8
triadic
#AA8FD8 #D8AA8F #8FD8AA
tetradic
#AA8FD8 #D88F98 #BDD88F #8FD8CE
square
#AA8FD8 #D88F98 #BDD88F #8FD8CE
split-complementary
#AA8FD8 #D8CE8F #98D88F
monochromatic
#673DAF #8862C8 #AA8FD8 #CCBCE8 #EEE8F7

Accessibility & contrast

On white

2.75
#AA8FD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#AA8FD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8FD8
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8FD8#FFFFFF#000000##000000
##AA8FD81.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9CDB
Deuteranopia (green-blind)
#839BD6
Tritanopia (blue-blind)
#A29BAA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #aa8fd8;
/* rgb */ color: rgb(170, 143, 216);
/* oklch */ color: oklch(70.2% 0.108 300.6);
Tailwind
colors: {
  custom: {
    50: '#c4b0e4',
    500: '#aa8fd8',
    950: '#000000',
  },
}
SCSS
$custom: #aa8fd8;
$custom-light: #c4b0e4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8fd8",
  "rgb": {
    "r": 170,
    "g": 143,
    "b": 216
  },
  "hsl": {
    "h": 262.192,
    "s": 48.344,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70185,
    "c": 0.10815,
    "h": 300.6
  },
  "luminance": 0.33149
}

Semantic roles & 50–950 ramp

primary
#AA8FD8
secondary
#E4EBD7
accent
#BC2A86
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AA8FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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