#A888EA#A888EA

#A888EA is a light, vivid violet. Relative luminance 0.319; OKLCH L 69.6% C 0.143 H 297.6°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#A888EA
RGBrgb(168, 136, 234)
HSLhsl(260, 70%, 73%)
HSVhsv(260, 42%, 92%)
CMYKcmyk(28.2%, 41.9%, 0%, 8.2%)
CIE-LABlab(63.24, 32.53, -45.26)
CIE-LCHlch(63.24, 55.73, 305.71°)
OKLaboklab(69.61% 0.0663 -0.1266)
OKLCHoklch(69.61% 0.143 297.6)
XYZxyz(39.8004, 31.8733, 81.8813)
Luminance0.3187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A888EA #CAEA88
analogous
#8899EA #A888EA #D988EA
triadic
#A888EA #EAA888 #88EAA8
tetradic
#A888EA #EA8899 #CAEA88 #88EAD9
square
#A888EA #EA8899 #CAEA88 #88EAD9
split-complementary
#A888EA #EAD988 #99EA88
monochromatic
#5E25D2 #8254E1 #A888EA #CEBCF3 #ECE5FA

Accessibility & contrast

On white

2.85
#A888EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#A888EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A888EA
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A888EA#FFFFFF#000000##000000
##A888EA1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C99EE
Deuteranopia (green-blind)
#7298E8
Tritanopia (blue-blind)
#9B99AE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a888ea;
/* rgb */ color: rgb(168, 136, 234);
/* oklch */ color: oklch(69.6% 0.143 297.6);
Tailwind
colors: {
  custom: {
    50: '#c4abf1',
    500: '#a888ea',
    950: '#000000',
  },
}
SCSS
$custom: #a888ea;
$custom-light: #c4abf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a888ea",
  "rgb": {
    "r": 168,
    "g": 136,
    "b": 234
  },
  "hsl": {
    "h": 259.592,
    "s": 70,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69613,
    "c": 0.14292,
    "h": 297.6
  },
  "luminance": 0.31874
}

Semantic roles & 50–950 ramp

primary
#A888EA
secondary
#EAF2D9
accent
#D21494
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A888EA

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

Preview Lab → · Contrast checker → · Palette generator →

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