#A88DEC#A88DEC

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

Color values

HEX#A88DEC
RGBrgb(168, 141, 236)
HSLhsl(257, 71%, 74%)
HSVhsv(257, 40%, 93%)
CMYKcmyk(28.8%, 40.3%, 0%, 7.5%)
CIE-LABlab(64.51, 30.19, -44.36)
CIE-LCHlch(64.51, 53.66, 304.24°)
OKLaboklab(70.6% 0.0599 -0.124)
OKLCHoklch(70.6% 0.138 295.8)
XYZxyz(40.8100, 33.4302, 83.6432)
Luminance0.3343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A88DEC #D1EC8D
analogous
#8DA2EC #A88DEC #D88DEC
triadic
#A88DEC #ECA88D #8DECA8
tetradic
#A88DEC #EC8DA2 #D1EC8D #8DECD8
square
#A88DEC #EC8DA2 #D1EC8D #8DECD8
split-complementary
#A88DEC #ECD88D #A2EC8D
monochromatic
#5824DA #8059E3 #A88DEC #D0C1F5 #EBE5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A88DEC#FFFFFF#000000##000000
##A88DEC1.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)
#729DF0
Deuteranopia (green-blind)
#769BEA
Tritanopia (blue-blind)
#9A9EB1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a88dec;
/* rgb */ color: rgb(168, 141, 236);
/* oklch */ color: oklch(70.6% 0.138 295.8);
Tailwind
colors: {
  custom: {
    50: '#c4aef2',
    500: '#a88dec',
    950: '#000000',
  },
}
SCSS
$custom: #a88dec;
$custom-light: #c4aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#a88dec",
  "rgb": {
    "r": 168,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 257.053,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70605,
    "c": 0.13772,
    "h": 295.8
  },
  "luminance": 0.33431
}

Semantic roles & 50–950 ramp

primary
#A88DEC
secondary
#EBF2D9
accent
#D3129C
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A88DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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