#A88CE7#A88CE7

#A88CE7 is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.2% C 0.133 H 297.0°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#A88CE7
RGBrgb(168, 140, 231)
HSLhsl(258, 65%, 73%)
HSVhsv(258, 39%, 91%)
CMYKcmyk(27.3%, 39.4%, 0%, 9.4%)
CIE-LABlab(64.04, 29.53, -42.34)
CIE-LCHlch(64.04, 51.62, 304.90°)
OKLaboklab(70.17% 0.0603 -0.1182)
OKLCHoklch(70.17% 0.133 297)
XYZxyz(39.9469, 32.8501, 79.8219)
Luminance0.3285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A88CE7 #CBE78C
analogous
#8C9DE7 #A88CE7 #D68CE7
triadic
#A88CE7 #E7A88C #8CE7A8
tetradic
#A88CE7 #E78C9D #CBE78C #8CE7D6
square
#A88CE7 #E78C9D #CBE78C #8CE7D6
split-complementary
#A88CE7 #E7D68C #9DE78C
monochromatic
#5D2BCE #8259DC #A88CE7 #CEBFF2 #ECE6FA

Accessibility & contrast

On white

2.77
#A88CE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#A88CE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A88CE7
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A88CE7#FFFFFF#000000##000000
##A88CE71.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#739CEA
Deuteranopia (green-blind)
#789AE5
Tritanopia (blue-blind)
#9B9CAF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a88ce7;
/* rgb */ color: rgb(168, 140, 231);
/* oklch */ color: oklch(70.2% 0.133 297.0);
Tailwind
colors: {
  custom: {
    50: '#c4aeef',
    500: '#a88ce7',
    950: '#000000',
  },
}
SCSS
$custom: #a88ce7;
$custom-light: #c4aeef;
$custom-dark: #000000;
JSON
{
  "hex": "#a88ce7",
  "rgb": {
    "r": 168,
    "g": 140,
    "b": 231
  },
  "hsl": {
    "h": 258.462,
    "s": 65.468,
    "l": 72.745
  },
  "oklch": {
    "l": 0.70174,
    "c": 0.13265,
    "h": 297
  },
  "luminance": 0.32851
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A88CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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