#A88EF6#A88EF6

#A88EF6 is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.3% C 0.149 H 293.8°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#A88EF6
RGBrgb(168, 142, 246)
HSLhsl(255, 85%, 76%)
HSVhsv(255, 42%, 96%)
CMYKcmyk(31.7%, 42.3%, 0%, 3.5%)
CIE-LABlab(65.22, 32.12, -48.74)
CIE-LCHlch(65.22, 58.37, 303.38°)
OKLaboklab(71.3% 0.0602 -0.1368)
OKLCHoklch(71.3% 0.149 293.8)
XYZxyz(42.4518, 34.3239, 91.5595)
Luminance0.3432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A88EF6 #DCF68E
analogous
#8EA8F6 #A88EF6 #DC8EF6
triadic
#A88EF6 #F6A88E #8EF6A8
tetradic
#A88EF6 #F68EA8 #DCF68E #8EF6DC
square
#A88EF6 #F68EA8 #DCF68E #8EF6DC
split-complementary
#A88EF6 #F6DC8E #A8F68E
monochromatic
#511DED #7C55F1 #A88EF6 #D4C7FB #E9E3FD

Accessibility & contrast

On white

2.67
#A88EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#A88EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A88EF6
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A88EF6#FFFFFF#000000##000000
##A88EF61.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9FFA
Deuteranopia (green-blind)
#719DF3
Tritanopia (blue-blind)
#96A1B6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a88ef6;
/* rgb */ color: rgb(168, 142, 246);
/* oklch */ color: oklch(71.3% 0.149 293.8);
Tailwind
colors: {
  custom: {
    50: '#c4aff9',
    500: '#a88ef6',
    950: '#000000',
  },
}
SCSS
$custom: #a88ef6;
$custom-light: #c4aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#a88ef6",
  "rgb": {
    "r": 168,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 255,
    "s": 85.246,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71298,
    "c": 0.14944,
    "h": 293.8
  },
  "luminance": 0.34325
}

Semantic roles & 50–950 ramp

primary
#A88EF6
secondary
#EDF5D6
accent
#E204AA
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A88EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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