#A887EA#A887EA

#A887EA is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.4% C 0.144 H 297.9°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#A887EA
RGBrgb(168, 135, 234)
HSLhsl(260, 70%, 72%)
HSVhsv(260, 42%, 92%)
CMYKcmyk(28.2%, 42.3%, 0%, 8.2%)
CIE-LABlab(63.01, 33.09, -45.62)
CIE-LCHlch(63.01, 56.36, 305.95°)
OKLaboklab(69.44% 0.0676 -0.1277)
OKLCHoklch(69.44% 0.144 297.9)
XYZxyz(39.6602, 31.5929, 81.8345)
Luminance0.3159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A887EA #C9EA87
analogous
#8798EA #A887EA #DA87EA
triadic
#A887EA #EAA887 #87EAA8
tetradic
#A887EA #EA8798 #C9EA87 #87EADA
square
#A887EA #EA8798 #C9EA87 #87EADA
split-complementary
#A887EA #EADA87 #98EA87
monochromatic
#5E25D2 #8253E1 #A887EA #CEBBF3 #ECE5FA

Accessibility & contrast

On white

2.87
#A887EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#A887EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A887EA
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A887EA#FFFFFF#000000##000000
##A887EA1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99EE
Deuteranopia (green-blind)
#7197E7
Tritanopia (blue-blind)
#9B98AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a887ea;
/* rgb */ color: rgb(168, 135, 234);
/* oklch */ color: oklch(69.4% 0.144 297.9);
Tailwind
colors: {
  custom: {
    50: '#c4aaf1',
    500: '#a887ea',
    950: '#000000',
  },
}
SCSS
$custom: #a887ea;
$custom-light: #c4aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a887ea",
  "rgb": {
    "r": 168,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 260,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69437,
    "c": 0.14449,
    "h": 297.9
  },
  "luminance": 0.31593
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A887EA

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

Preview Lab → · Contrast checker → · Palette generator →

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