#A387EE#A387EE

#A387EE is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.2% C 0.149 H 294.7°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#A387EE
RGBrgb(163, 135, 238)
HSLhsl(256, 75%, 73%)
HSVhsv(256, 43%, 93%)
CMYKcmyk(31.5%, 43.3%, 0%, 6.7%)
CIE-LABlab(62.75, 32.73, -48.27)
CIE-LCHlch(62.75, 58.32, 304.14°)
OKLaboklab(69.2% 0.0624 -0.1355)
OKLCHoklch(69.2% 0.149 294.7)
XYZxyz(39.1970, 31.2869, 84.8462)
Luminance0.3129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A387EE #D2EE87
analogous
#879EEE #A387EE #D687EE
triadic
#A387EE #EEA387 #87EEA3
tetradic
#A387EE #EE879E #D2EE87 #87EED6
square
#A387EE #EE879E #D2EE87 #87EED6
split-complementary
#A387EE #EED687 #9EEE87
monochromatic
#521FDC #7A51E6 #A387EE #CCBDF6 #EAE4FB

Accessibility & contrast

On white

2.89
#A387EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#A387EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A387EE
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A387EE#FFFFFF#000000##000000
##A387EE1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F2
Deuteranopia (green-blind)
#6B96EB
Tritanopia (blue-blind)
#929AAF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a387ee;
/* rgb */ color: rgb(163, 135, 238);
/* oklch */ color: oklch(69.2% 0.149 294.7);
Tailwind
colors: {
  custom: {
    50: '#c1aaf4',
    500: '#a387ee',
    950: '#000000',
  },
}
SCSS
$custom: #a387ee;
$custom-light: #c1aaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#a387ee",
  "rgb": {
    "r": 163,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 256.311,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.692,
    "c": 0.14917,
    "h": 294.7
  },
  "luminance": 0.31288
}

Semantic roles & 50–950 ramp

primary
#A387EE
secondary
#ECF3D8
accent
#D70EA1
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A387EE

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

Preview Lab → · Contrast checker → · Palette generator →

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