#A88EFE#A88EFE

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

Color values

HEX#A88EFE
RGBrgb(168, 142, 254)
HSLhsl(254, 98%, 78%)
HSVhsv(254, 44%, 100%)
CMYKcmyk(33.9%, 44.1%, 0%, 0.4%)
CIE-LABlab(65.61, 34.15, -52.50)
CIE-LCHlch(65.61, 62.63, 303.04°)
OKLaboklab(71.72% 0.0614 -0.1477)
OKLCHoklch(71.72% 0.16 292.6)
XYZxyz(43.7062, 34.8257, 98.1660)
Luminance0.3483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A88EFE #E4FE8E
analogous
#8EACFE #A88EFE #E08EFE
triadic
#A88EFE #FEA88E #8EFEA8
tetradic
#A88EFE #FE8EAC #E4FE8E #8EFEE0
square
#A88EFE #FE8EAC #E4FE8E #8EFEE0
split-complementary
#A88EFE #FEE08E #ACFE8E
monochromatic
#4B15FD #7951FD #A88EFE #D7CBFF #E8E1FF

Accessibility & contrast

On white

2.64
#A88EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A88EFE#FFFFFF#000000##000000
##A88EFE1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#6C9DFB
Tritanopia (blue-blind)
#93A3BA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a88efe;
/* rgb */ color: rgb(168, 142, 254);
/* oklch */ color: oklch(71.7% 0.160 292.6);
Tailwind
colors: {
  custom: {
    50: '#c5afff',
    500: '#a88efe',
    950: '#000000',
  },
}
SCSS
$custom: #a88efe;
$custom-light: #c5afff;
$custom-dark: #000000;
JSON
{
  "hex": "#a88efe",
  "rgb": {
    "r": 168,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 253.929,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.71724,
    "c": 0.15999,
    "h": 292.6
  },
  "luminance": 0.34827
}

Semantic roles & 50–950 ramp

primary
#A88EFE
secondary
#EFF7D4
accent
#E600B0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A88EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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