#A888EE#A888EE

#A888EE is a light, vivid violet. Relative luminance 0.321; OKLCH L 69.8% C 0.148 H 296.8°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#A888EE
RGBrgb(168, 136, 238)
HSLhsl(259, 75%, 73%)
HSVhsv(259, 43%, 93%)
CMYKcmyk(29.4%, 42.9%, 0%, 6.7%)
CIE-LABlab(63.43, 33.51, -47.16)
CIE-LCHlch(63.43, 57.86, 305.39°)
OKLaboklab(69.82% 0.0669 -0.1322)
OKLCHoklch(69.82% 0.148 296.8)
XYZxyz(40.3815, 32.1057, 84.9419)
Luminance0.3211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A888EE #CEEE88
analogous
#889BEE #A888EE #DB88EE
triadic
#A888EE #EEA888 #88EEA8
tetradic
#A888EE #EE889B #CEEE88 #88EEDB
square
#A888EE #EE889B #CEEE88 #88EEDB
split-complementary
#A888EE #EEDB88 #9BEE88
monochromatic
#5B1FDC #8152E6 #A888EE #CFBEF6 #EBE4FB

Accessibility & contrast

On white

2.83
#A888EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#A888EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A888EE
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A888EE#FFFFFF#000000##000000
##A888EE1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF2
Deuteranopia (green-blind)
#7098EB
Tritanopia (blue-blind)
#999AB0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a888ee;
/* rgb */ color: rgb(168, 136, 238);
/* oklch */ color: oklch(69.8% 0.148 296.8);
Tailwind
colors: {
  custom: {
    50: '#c4abf4',
    500: '#a888ee',
    950: '#000000',
  },
}
SCSS
$custom: #a888ee;
$custom-light: #c4abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#a888ee",
  "rgb": {
    "r": 168,
    "g": 136,
    "b": 238
  },
  "hsl": {
    "h": 258.824,
    "s": 75,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69821,
    "c": 0.14815,
    "h": 296.8
  },
  "luminance": 0.32106
}

Semantic roles & 50–950 ramp

primary
#A888EE
secondary
#EAF3D8
accent
#D70E98
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A888EE

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

Preview Lab → · Contrast checker → · Palette generator →

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