#AA88FC#AA88FC

#AA88FC is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.8% C 0.167 H 295.3°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#AA88FC
RGBrgb(170, 136, 252)
HSLhsl(258, 95%, 76%)
HSVhsv(258, 46%, 99%)
CMYKcmyk(32.5%, 46%, 0%, 1.2%)
CIE-LABlab(64.31, 37.53, -53.46)
CIE-LCHlch(64.31, 65.32, 305.07°)
OKLaboklab(70.75% 0.0712 -0.1505)
OKLCHoklch(70.75% 0.167 295.3)
XYZxyz(42.9480, 33.1820, 96.2186)
Luminance0.3318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA88FC #DAFC88
analogous
#88A0FC #AA88FC #E488FC
triadic
#AA88FC #FCAA88 #88FCAA
tetradic
#AA88FC #FC88A0 #DAFC88 #88FCE4
square
#AA88FC #FC88A0 #DAFC88 #88FCE4
split-complementary
#AA88FC #FCE488 #A0FC88
monochromatic
#5511F9 #7F4CFA #AA88FC #D5C4FE #EAE1FE

Accessibility & contrast

On white

2.75
#AA88FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#AA88FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA88FC
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA88FC#FFFFFF#000000##000000
##AA88FC1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#689AF9
Tritanopia (blue-blind)
#989EB6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #aa88fc;
/* rgb */ color: rgb(170, 136, 252);
/* oklch */ color: oklch(70.8% 0.167 295.3);
Tailwind
colors: {
  custom: {
    50: '#c6abfe',
    500: '#aa88fc',
    950: '#000000',
  },
}
SCSS
$custom: #aa88fc;
$custom-light: #c6abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa88fc",
  "rgb": {
    "r": 170,
    "g": 136,
    "b": 252
  },
  "hsl": {
    "h": 257.586,
    "s": 95.082,
    "l": 76.078
  },
  "oklch": {
    "l": 0.70752,
    "c": 0.1665,
    "h": 295.3
  },
  "luminance": 0.33183
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA88FC

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

Preview Lab → · Contrast checker → · Palette generator →

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