#AA8BFC#AA8BFC

#AA8BFC is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.3% C 0.162 H 294.6°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#AA8BFC
RGBrgb(170, 139, 252)
HSLhsl(256, 95%, 77%)
HSVhsv(256, 45%, 99%)
CMYKcmyk(32.5%, 44.8%, 0%, 1.2%)
CIE-LABlab(64.99, 35.84, -52.38)
CIE-LCHlch(64.99, 63.47, 304.39°)
OKLaboklab(71.27% 0.0674 -0.1473)
OKLCHoklch(71.27% 0.162 294.6)
XYZxyz(43.3764, 34.0388, 96.3614)
Luminance0.3404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8BFC #DDFC8B
analogous
#8BA5FC #AA8BFC #E38BFC
triadic
#AA8BFC #FCAA8B #8BFCAA
tetradic
#AA8BFC #FC8BA5 #DDFC8B #8BFCE3
square
#AA8BFC #FC8BA5 #DDFC8B #8BFCE3
split-complementary
#AA8BFC #FCE38B #A5FC8B
monochromatic
#5314F9 #7E4FFA #AA8BFC #D6C7FE #E9E1FE

Accessibility & contrast

On white

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

On black

7.81
#AA8BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8BFC
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8BFC#FFFFFF#000000##000000
##AA8BFC1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa8bfc;
/* rgb */ color: rgb(170, 139, 252);
/* oklch */ color: oklch(71.3% 0.162 294.6);
Tailwind
colors: {
  custom: {
    50: '#c6adfe',
    500: '#aa8bfc',
    950: '#000000',
  },
}
SCSS
$custom: #aa8bfc;
$custom-light: #c6adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8bfc",
  "rgb": {
    "r": 170,
    "g": 139,
    "b": 252
  },
  "hsl": {
    "h": 256.46,
    "s": 94.958,
    "l": 76.667
  },
  "oklch": {
    "l": 0.71267,
    "c": 0.16198,
    "h": 294.6
  },
  "luminance": 0.3404
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA8BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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