#A88EE7#A88EE7

#A88EE7 is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.5% C 0.129 H 296.4°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#A88EE7
RGBrgb(168, 142, 231)
HSLhsl(258, 65%, 73%)
HSVhsv(258, 39%, 91%)
CMYKcmyk(27.3%, 38.5%, 0%, 9.4%)
CIE-LABlab(64.52, 28.40, -41.59)
CIE-LCHlch(64.52, 50.36, 304.33°)
OKLaboklab(70.54% 0.0575 -0.116)
OKLCHoklch(70.54% 0.129 296.4)
XYZxyz(40.2418, 33.4399, 79.9202)
Luminance0.3344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A88EE7 #CDE78E
analogous
#8EA0E7 #A88EE7 #D48EE7
triadic
#A88EE7 #E7A88E #8EE7A8
tetradic
#A88EE7 #E78EA0 #CDE78E #8EE7D4
square
#A88EE7 #E78EA0 #CDE78E #8EE7D4
split-complementary
#A88EE7 #E7D48E #A0E78E
monochromatic
#5B2CCF #815CDC #A88EE7 #CFC0F2 #ECE6FA

Accessibility & contrast

On white

2.73
#A88EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#A88EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A88EE7
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A88EE7#FFFFFF#000000##000000
##A88EE71.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#769DEA
Deuteranopia (green-blind)
#7A9BE5
Tritanopia (blue-blind)
#9B9DB0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a88ee7;
/* rgb */ color: rgb(168, 142, 231);
/* oklch */ color: oklch(70.5% 0.129 296.4);
Tailwind
colors: {
  custom: {
    50: '#c3afef',
    500: '#a88ee7',
    950: '#000000',
  },
}
SCSS
$custom: #a88ee7;
$custom-light: #c3afef;
$custom-dark: #000000;
JSON
{
  "hex": "#a88ee7",
  "rgb": {
    "r": 168,
    "g": 142,
    "b": 231
  },
  "hsl": {
    "h": 257.528,
    "s": 64.964,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70535,
    "c": 0.12949,
    "h": 296.4
  },
  "luminance": 0.3344
}

Semantic roles & 50–950 ramp

primary
#A88EE7
secondary
#EAF1DA
accent
#CD1998
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #A88EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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