#A387ED#A387ED

#A387ED is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.1% C 0.148 H 294.9°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#A387ED
RGBrgb(163, 135, 237)
HSLhsl(256, 74%, 73%)
HSVhsv(256, 43%, 93%)
CMYKcmyk(31.2%, 43%, 0%, 7.1%)
CIE-LABlab(62.70, 32.48, -47.79)
CIE-LCHlch(62.70, 57.79, 304.20°)
OKLaboklab(69.15% 0.0622 -0.1341)
OKLCHoklch(69.15% 0.148 294.9)
XYZxyz(39.0505, 31.2283, 84.0746)
Luminance0.3123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A387ED #D1ED87
analogous
#879EED #A387ED #D687ED
triadic
#A387ED #EDA387 #87EDA3
tetradic
#A387ED #ED879E #D1ED87 #87EDD6
square
#A387ED #ED879E #D1ED87 #87EDD6
split-complementary
#A387ED #EDD687 #9EED87
monochromatic
#5321D9 #7A52E5 #A387ED #CCBCF5 #EBE4FB

Accessibility & contrast

On white

2.90
#A387ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#A387ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A387ED
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A387ED#FFFFFF#000000##000000
##A387ED1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F1
Deuteranopia (green-blind)
#6C96EA
Tritanopia (blue-blind)
#939AAF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a387ed;
/* rgb */ color: rgb(163, 135, 237);
/* oklch */ color: oklch(69.1% 0.148 294.9);
Tailwind
colors: {
  custom: {
    50: '#c1aaf3',
    500: '#a387ed',
    950: '#000000',
  },
}
SCSS
$custom: #a387ed;
$custom-light: #c1aaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a387ed",
  "rgb": {
    "r": 163,
    "g": 135,
    "b": 237
  },
  "hsl": {
    "h": 256.471,
    "s": 73.913,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69147,
    "c": 0.14785,
    "h": 294.9
  },
  "luminance": 0.31229
}

Semantic roles & 50–950 ramp

primary
#A387ED
secondary
#EBF3D8
accent
#D60FA0
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A387ED

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

Preview Lab → · Contrast checker → · Palette generator →

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