#A387EF#A387EF

#A387EF is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.3% C 0.150 H 294.5°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#A387EF
RGBrgb(163, 135, 239)
HSLhsl(256, 76%, 73%)
HSVhsv(256, 44%, 94%)
CMYKcmyk(31.8%, 43.5%, 0%, 6.3%)
CIE-LABlab(62.80, 32.99, -48.74)
CIE-LCHlch(62.80, 58.86, 304.09°)
OKLaboklab(69.25% 0.0625 -0.1369)
OKLCHoklch(69.25% 0.15 294.5)
XYZxyz(39.3443, 31.3458, 85.6221)
Luminance0.3135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A387EF #D3EF87
analogous
#879FEF #A387EF #D787EF
triadic
#A387EF #EFA387 #87EFA3
tetradic
#A387EF #EF879F #D3EF87 #87EFD7
square
#A387EF #EF879F #D3EF87 #87EFD7
split-complementary
#A387EF #EFD787 #9FEF87
monochromatic
#511EDE #7A51E8 #A387EF #CCBDF6 #EAE4FB

Accessibility & contrast

On white

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

On black

7.27
#A387EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A387EF
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A387EF#FFFFFF#000000##000000
##A387EF1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#6B96EC
Tritanopia (blue-blind)
#929AB0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a387ef;
/* rgb */ color: rgb(163, 135, 239);
/* oklch */ color: oklch(69.3% 0.150 294.5);
Tailwind
colors: {
  custom: {
    50: '#c1aaf5',
    500: '#a387ef',
    950: '#000000',
  },
}
SCSS
$custom: #a387ef;
$custom-light: #c1aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a387ef",
  "rgb": {
    "r": 163,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 256.154,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69253,
    "c": 0.15049,
    "h": 294.5
  },
  "luminance": 0.31346
}

Semantic roles & 50–950 ramp

primary
#A387EF
secondary
#ECF3D8
accent
#D90DA2
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #A387EF

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

Preview Lab → · Contrast checker → · Palette generator →

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