#AA8BFD#AA8BFD

#AA8BFD is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.3% C 0.163 H 294.4°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#AA8BFD
RGBrgb(170, 139, 253)
HSLhsl(256, 97%, 77%)
HSVhsv(256, 45%, 99%)
CMYKcmyk(32.8%, 45.1%, 0%, 0.8%)
CIE-LABlab(65.04, 36.10, -52.84)
CIE-LCHlch(65.04, 63.99, 304.34°)
OKLaboklab(71.32% 0.0675 -0.1487)
OKLCHoklch(71.32% 0.163 294.4)
XYZxyz(43.5353, 34.1024, 97.1982)
Luminance0.3410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8BFD #DEFD8B
analogous
#8BA5FD #AA8BFD #E38BFD
triadic
#AA8BFD #FDAA8B #8BFDAA
tetradic
#AA8BFD #FD8BA5 #DEFD8B #8BFDE3
square
#AA8BFD #FD8BA5 #DEFD8B #8BFDE3
split-complementary
#AA8BFD #FDE38B #A5FD8B
monochromatic
#5213FB #7E4FFC #AA8BFD #D6C7FE #E9E1FE

Accessibility & contrast

On white

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

On black

7.82
#AA8BFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8BFD
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8BFD#FFFFFF#000000##000000
##AA8BFD1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#6B9CFA
Tritanopia (blue-blind)
#97A0B8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aa8bfd;
/* rgb */ color: rgb(170, 139, 253);
/* oklch */ color: oklch(71.3% 0.163 294.4);
Tailwind
colors: {
  custom: {
    50: '#c6adfe',
    500: '#aa8bfd',
    950: '#000000',
  },
}
SCSS
$custom: #aa8bfd;
$custom-light: #c6adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8bfd",
  "rgb": {
    "r": 170,
    "g": 139,
    "b": 253
  },
  "hsl": {
    "h": 256.316,
    "s": 96.61,
    "l": 76.863
  },
  "oklch": {
    "l": 0.71321,
    "c": 0.16328,
    "h": 294.4
  },
  "luminance": 0.34103
}

Semantic roles & 50–950 ramp

primary
#AA8BFD
secondary
#EDF7D4
accent
#E600A7
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AA8BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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