#AA8EFB#AA8EFB

#AA8EFB is a light, vivid violet. Relative luminance 0.349; OKLCH L 71.7% C 0.156 H 293.9°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#AA8EFB
RGBrgb(170, 142, 251)
HSLhsl(255, 93%, 77%)
HSVhsv(255, 43%, 98%)
CMYKcmyk(32.3%, 43.4%, 0%, 1.6%)
CIE-LABlab(65.64, 33.90, -50.81)
CIE-LCHlch(65.64, 61.08, 303.71°)
OKLaboklab(71.74% 0.0633 -0.1427)
OKLCHoklch(71.74% 0.156 293.9)
XYZxyz(43.6587, 34.8563, 95.6758)
Luminance0.3486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8EFB #DFFB8E
analogous
#8EA9FB #AA8EFB #E18EFB
triadic
#AA8EFB #FBAA8E #8EFBAA
tetradic
#AA8EFB #FB8EA9 #DFFB8E #8EFBE1
square
#AA8EFB #FB8EA9 #DFFB8E #8EFBE1
split-complementary
#AA8EFB #FBE18E #A9FB8E
monochromatic
#5118F7 #7E53F9 #AA8EFB #D6C9FD #E9E1FE

Accessibility & contrast

On white

2.63
#AA8EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#AA8EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8EFB
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8EFB#FFFFFF#000000##000000
##AA8EFB1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA1FF
Deuteranopia (green-blind)
#709EF8
Tritanopia (blue-blind)
#97A2B8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aa8efb;
/* rgb */ color: rgb(170, 142, 251);
/* oklch */ color: oklch(71.7% 0.156 293.9);
Tailwind
colors: {
  custom: {
    50: '#c6affd',
    500: '#aa8efb',
    950: '#000000',
  },
}
SCSS
$custom: #aa8efb;
$custom-light: #c6affd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8efb",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 255.413,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.71735,
    "c": 0.15617,
    "h": 293.9
  },
  "luminance": 0.34857
}

Semantic roles & 50–950 ramp

primary
#AA8EFB
secondary
#EEF6D5
accent
#E600AB
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AA8EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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