#A387EB#A387EB

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

Color values

HEX#A387EB
RGBrgb(163, 135, 235)
HSLhsl(257, 71%, 73%)
HSVhsv(257, 43%, 92%)
CMYKcmyk(30.6%, 42.6%, 0%, 7.8%)
CIE-LABlab(62.60, 31.98, -46.84)
CIE-LCHlch(62.60, 56.72, 304.32°)
OKLaboklab(69.04% 0.0619 -0.1314)
OKLCHoklch(69.04% 0.145 295.2)
XYZxyz(38.7599, 31.1121, 82.5443)
Luminance0.3111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A387EB #CFEB87
analogous
#879DEB #A387EB #D587EB
triadic
#A387EB #EBA387 #87EBA3
tetradic
#A387EB #EB879D #CFEB87 #87EBD5
square
#A387EB #EB879D #CFEB87 #87EBD5
split-complementary
#A387EB #EBD587 #9DEB87
monochromatic
#5523D4 #7B53E2 #A387EB #CBBBF4 #EBE5FB

Accessibility & contrast

On white

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

On black

7.22
#A387EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A387EB
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A387EB#FFFFFF#000000##000000
##A387EB1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6998EF
Deuteranopia (green-blind)
#6D96E9
Tritanopia (blue-blind)
#9399AE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a387eb;
/* rgb */ color: rgb(163, 135, 235);
/* oklch */ color: oklch(69.0% 0.145 295.2);
Tailwind
colors: {
  custom: {
    50: '#c1aaf2',
    500: '#a387eb',
    950: '#000000',
  },
}
SCSS
$custom: #a387eb;
$custom-light: #c1aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a387eb",
  "rgb": {
    "r": 163,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 256.8,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69041,
    "c": 0.14521,
    "h": 295.2
  },
  "luminance": 0.31113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A387EB

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

Preview Lab → · Contrast checker → · Palette generator →

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