#A88AFE#A88AFE

#A88AFE is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.0% C 0.166 H 293.6°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#A88AFE
RGBrgb(168, 138, 254)
HSLhsl(256, 98%, 77%)
HSVhsv(256, 46%, 100%)
CMYKcmyk(33.9%, 45.7%, 0%, 0.4%)
CIE-LABlab(64.69, 36.40, -53.96)
CIE-LCHlch(64.69, 65.09, 304.00°)
OKLaboklab(71.03% 0.0666 -0.152)
OKLCHoklch(71.03% 0.166 293.6)
XYZxyz(43.1217, 33.6567, 97.9712)
Luminance0.3366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A88AFE #E0FE8A
analogous
#8AA6FE #A88AFE #E28AFE
triadic
#A88AFE #FEA88A #8AFEA8
tetradic
#A88AFE #FE8AA6 #E0FE8A #8AFEE2
square
#A88AFE #FE8AA6 #E0FE8A #8AFEE2
split-complementary
#A88AFE #FEE28A #A6FE8A
monochromatic
#4E11FD #7B4DFD #A88AFE #D5C7FF #E8E1FF

Accessibility & contrast

On white

2.72
#A88AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#A88AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A88AFE
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A88AFE#FFFFFF#000000##000000
##A88AFE1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#679BFB
Tritanopia (blue-blind)
#94A0B8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a88afe;
/* rgb */ color: rgb(168, 138, 254);
/* oklch */ color: oklch(71.0% 0.166 293.6);
Tailwind
colors: {
  custom: {
    50: '#c5acff',
    500: '#a88afe',
    950: '#000000',
  },
}
SCSS
$custom: #a88afe;
$custom-light: #c5acff;
$custom-dark: #000000;
JSON
{
  "hex": "#a88afe",
  "rgb": {
    "r": 168,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 255.517,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.71029,
    "c": 0.16593,
    "h": 293.6
  },
  "luminance": 0.33658
}

Semantic roles & 50–950 ramp

primary
#A88AFE
secondary
#EEF7D4
accent
#E600AA
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A88AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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