#A387EA#A387EA

#A387EA is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.0% C 0.144 H 295.4°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#A387EA
RGBrgb(163, 135, 234)
HSLhsl(257, 70%, 72%)
HSVhsv(257, 42%, 92%)
CMYKcmyk(30.3%, 42.3%, 0%, 8.2%)
CIE-LABlab(62.55, 31.73, -46.37)
CIE-LCHlch(62.55, 56.18, 304.38°)
OKLaboklab(68.99% 0.0617 -0.13)
OKLCHoklch(68.99% 0.144 295.4)
XYZxyz(38.6159, 31.0544, 81.7856)
Luminance0.3105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A387EA #CEEA87
analogous
#879CEA #A387EA #D587EA
triadic
#A387EA #EAA387 #87EAA3
tetradic
#A387EA #EA879C #CEEA87 #87EAD5
square
#A387EA #EA879C #CEEA87 #87EAD5
split-complementary
#A387EA #EAD587 #9CEA87
monochromatic
#5625D2 #7B53E1 #A387EA #CBBBF3 #EBE5FA

Accessibility & contrast

On white

2.91
#A387EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#A387EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A387EA
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A387EA#FFFFFF#000000##000000
##A387EA1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6998EE
Deuteranopia (green-blind)
#6E96E8
Tritanopia (blue-blind)
#9499AD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a387ea;
/* rgb */ color: rgb(163, 135, 234);
/* oklch */ color: oklch(69.0% 0.144 295.4);
Tailwind
colors: {
  custom: {
    50: '#c0aaf1',
    500: '#a387ea',
    950: '#000000',
  },
}
SCSS
$custom: #a387ea;
$custom-light: #c0aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a387ea",
  "rgb": {
    "r": 163,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 256.97,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68988,
    "c": 0.14388,
    "h": 295.4
  },
  "luminance": 0.31055
}

Semantic roles & 50–950 ramp

primary
#A387EA
secondary
#EBF2D9
accent
#D2139C
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A387EA

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

Preview Lab → · Contrast checker → · Palette generator →

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