#AA8BFB#AA8BFB

#AA8BFB is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.2% C 0.161 H 294.7°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#AA8BFB
RGBrgb(170, 139, 251)
HSLhsl(257, 93%, 76%)
HSVhsv(257, 45%, 98%)
CMYKcmyk(32.3%, 44.6%, 0%, 1.6%)
CIE-LABlab(64.94, 35.59, -51.91)
CIE-LCHlch(64.94, 62.94, 304.44°)
OKLaboklab(71.21% 0.0672 -0.1459)
OKLCHoklch(71.21% 0.161 294.7)
XYZxyz(43.2184, 33.9756, 95.5290)
Luminance0.3398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8BFB #DCFB8B
analogous
#8BA4FB #AA8BFB #E28BFB
triadic
#AA8BFB #FBAA8B #8BFBAA
tetradic
#AA8BFB #FB8BA4 #DCFB8B #8BFBE2
square
#AA8BFB #FB8BA4 #DCFB8B #8BFBE2
split-complementary
#AA8BFB #FBE28B #A4FB8B
monochromatic
#5315F7 #7F50F9 #AA8BFB #D5C6FD #E9E1FE

Accessibility & contrast

On white

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

On black

7.80
#AA8BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8BFB
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8BFB#FFFFFF#000000##000000
##AA8BFB1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#6C9CF8
Tritanopia (blue-blind)
#98A0B7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aa8bfb;
/* rgb */ color: rgb(170, 139, 251);
/* oklch */ color: oklch(71.2% 0.161 294.7);
Tailwind
colors: {
  custom: {
    50: '#c6adfd',
    500: '#aa8bfb',
    950: '#000000',
  },
}
SCSS
$custom: #aa8bfb;
$custom-light: #c6adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8bfb",
  "rgb": {
    "r": 170,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 256.607,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71213,
    "c": 0.16069,
    "h": 294.7
  },
  "luminance": 0.33976
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA8BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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