#A887FF#A887FF

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

Color values

HEX#A887FF
RGBrgb(168, 135, 255)
HSLhsl(257, 100%, 76%)
HSVhsv(257, 47%, 100%)
CMYKcmyk(34.1%, 47.1%, 0%, 0%)
CIE-LABlab(64.06, 38.34, -55.51)
CIE-LCHlch(64.06, 67.47, 304.63°)
OKLaboklab(70.57% 0.0705 -0.1565)
OKLCHoklch(70.57% 0.172 294.2)
XYZxyz(42.8578, 32.8720, 98.6753)
Luminance0.3287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A887FF #DEFF87
analogous
#87A2FF #A887FF #E487FF
triadic
#A887FF #FFA887 #87FFA8
tetradic
#A887FF #FF87A2 #DEFF87 #87FFE4
square
#A887FF #FF87A2 #DEFF87 #87FFE4
split-complementary
#A887FF #FFE487 #A2FF87
monochromatic
#4F0DFF #7C4AFF #A887FF #D4C4FF #E9E0FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A887FF#FFFFFF#000000##000000
##A887FF1.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)
#5D9CFF
Deuteranopia (green-blind)
#6399FC
Tritanopia (blue-blind)
#949EB7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a887ff;
/* rgb */ color: rgb(168, 135, 255);
/* oklch */ color: oklch(70.6% 0.172 294.2);
Tailwind
colors: {
  custom: {
    50: '#c5aaff',
    500: '#a887ff',
    950: '#000000',
  },
}
SCSS
$custom: #a887ff;
$custom-light: #c5aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#a887ff",
  "rgb": {
    "r": 168,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 256.5,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.70571,
    "c": 0.17168,
    "h": 294.2
  },
  "luminance": 0.32873
}

Semantic roles & 50–950 ramp

primary
#A887FF
secondary
#EEF7D4
accent
#E600A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A887FF

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

Preview Lab → · Contrast checker → · Palette generator →

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