#AA88F7#AA88F7

#AA88F7 is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.5% C 0.160 H 296.2°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#AA88F7
RGBrgb(170, 136, 247)
HSLhsl(258, 87%, 75%)
HSVhsv(258, 45%, 97%)
CMYKcmyk(31.2%, 44.9%, 0%, 3.1%)
CIE-LABlab(64.05, 36.28, -51.12)
CIE-LCHlch(64.05, 62.68, 305.36°)
OKLaboklab(70.48% 0.0706 -0.1436)
OKLCHoklch(70.48% 0.16 296.2)
XYZxyz(42.1661, 32.8692, 92.1005)
Luminance0.3287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA88F7 #D5F788
analogous
#889EF7 #AA88F7 #E188F7
triadic
#AA88F7 #F7AA88 #88F7AA
tetradic
#AA88F7 #F7889E #D5F788 #88F7E1
square
#AA88F7 #F7889E #D5F788 #88F7E1
split-complementary
#AA88F7 #F7E188 #9EF788
monochromatic
#5815EF #814FF3 #AA88F7 #D3C1FB #EBE2FD

Accessibility & contrast

On white

2.77
#AA88F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#AA88F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA88F7
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA88F7#FFFFFF#000000##000000
##AA88F71.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#659CFB
Deuteranopia (green-blind)
#6B9AF4
Tritanopia (blue-blind)
#999DB4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #aa88f7;
/* rgb */ color: rgb(170, 136, 247);
/* oklch */ color: oklch(70.5% 0.160 296.2);
Tailwind
colors: {
  custom: {
    50: '#c6abfa',
    500: '#aa88f7',
    950: '#000000',
  },
}
SCSS
$custom: #aa88f7;
$custom-light: #c6abfa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa88f7",
  "rgb": {
    "r": 170,
    "g": 136,
    "b": 247
  },
  "hsl": {
    "h": 258.378,
    "s": 87.402,
    "l": 75.098
  },
  "oklch": {
    "l": 0.70479,
    "c": 0.16006,
    "h": 296.2
  },
  "luminance": 0.3287
}

Semantic roles & 50–950 ramp

primary
#AA88F7
secondary
#ECF5D6
accent
#E4029F
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AA88F7

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

Preview Lab → · Contrast checker → · Palette generator →

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