#A87CE7#A87CE7

#A87CE7 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.4% C 0.158 H 301.3°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A87CE7
RGBrgb(168, 124, 231)
HSLhsl(265, 69%, 70%)
HSVhsv(265, 46%, 91%)
CMYKcmyk(27.3%, 46.3%, 0%, 9.4%)
CIE-LABlab(60.35, 38.54, -48.16)
CIE-LCHlch(60.35, 61.68, 308.67°)
OKLaboklab(67.39% 0.082 -0.135)
OKLCHoklch(67.39% 0.158 301.3)
XYZxyz(37.7766, 28.5095, 79.0985)
Luminance0.2851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87CE7 #BBE77C
analogous
#7C86E7 #A87CE7 #DE7CE7
triadic
#A87CE7 #E7A87C #7CE7A8
tetradic
#A87CE7 #E77C86 #BBE77C #7CE7DE
square
#A87CE7 #E77C86 #BBE77C #7CE7DE
split-complementary
#A87CE7 #E7DE7C #86E77C
monochromatic
#6624C5 #8648DE #A87CE7 #CAB0F0 #EDE3FA

Accessibility & contrast

On white

3.13
#A87CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#A87CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87CE7
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87CE7#FFFFFF#000000##000000
##A87CE71.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C91EB
Deuteranopia (green-blind)
#6791E4
Tritanopia (blue-blind)
#9C8FA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a87ce7;
/* rgb */ color: rgb(168, 124, 231);
/* oklch */ color: oklch(67.4% 0.158 301.3);
Tailwind
colors: {
  custom: {
    50: '#c4a3ef',
    500: '#a87ce7',
    950: '#000000',
  },
}
SCSS
$custom: #a87ce7;
$custom-light: #c4a3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a87ce7",
  "rgb": {
    "r": 168,
    "g": 124,
    "b": 231
  },
  "hsl": {
    "h": 264.673,
    "s": 69.032,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67389,
    "c": 0.15799,
    "h": 301.3
  },
  "luminance": 0.2851
}

Semantic roles & 50–950 ramp

primary
#A87CE7
secondary
#E2EFD0
accent
#D11583
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A87CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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