#AA8FEB#AA8FEB

#AA8FEB is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.1% C 0.134 H 296.4°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#AA8FEB
RGBrgb(170, 143, 235)
HSLhsl(258, 70%, 74%)
HSVhsv(258, 39%, 92%)
CMYKcmyk(27.7%, 39.1%, 0%, 7.8%)
CIE-LABlab(65.11, 29.37, -42.85)
CIE-LCHlch(65.11, 51.95, 304.43°)
OKLaboklab(71.09% 0.0593 -0.1196)
OKLCHoklch(71.09% 0.134 296.4)
XYZxyz(41.3918, 34.1887, 82.9995)
Luminance0.3419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8FEB #D0EB8F
analogous
#8FA2EB #AA8FEB #D88FEB
triadic
#AA8FEB #EBAA8F #8FEBAA
tetradic
#AA8FEB #EB8FA2 #D0EB8F #8FEBD8
square
#AA8FEB #EB8FA2 #D0EB8F #8FEBD8
split-complementary
#AA8FEB #EBD88F #A2EB8F
monochromatic
#5B27D8 #835BE2 #AA8FEB #D1C3F4 #EBE5FA

Accessibility & contrast

On white

2.68
#AA8FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#AA8FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8FEB
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8FEB#FFFFFF#000000##000000
##AA8FEB1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FEF
Deuteranopia (green-blind)
#7A9DE9
Tritanopia (blue-blind)
#9D9FB2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aa8feb;
/* rgb */ color: rgb(170, 143, 235);
/* oklch */ color: oklch(71.1% 0.134 296.4);
Tailwind
colors: {
  custom: {
    50: '#c5b0f2',
    500: '#aa8feb',
    950: '#000000',
  },
}
SCSS
$custom: #aa8feb;
$custom-light: #c5b0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8feb",
  "rgb": {
    "r": 170,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 257.609,
    "s": 69.697,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7109,
    "c": 0.1335,
    "h": 296.4
  },
  "luminance": 0.34189
}

Semantic roles & 50–950 ramp

primary
#AA8FEB
secondary
#EBF2D9
accent
#D2149A
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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