#A387FD#A387FD

#A387FD is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.0% C 0.169 H 292.4°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#A387FD
RGBrgb(163, 135, 253)
HSLhsl(254, 97%, 76%)
HSVhsv(254, 47%, 99%)
CMYKcmyk(35.6%, 46.6%, 0%, 0.8%)
CIE-LABlab(63.51, 36.57, -55.31)
CIE-LCHlch(63.51, 66.31, 303.47°)
OKLaboklab(70.02% 0.0644 -0.1561)
OKLCHoklch(70.02% 0.169 292.4)
XYZxyz(41.4932, 32.2054, 96.9396)
Luminance0.3221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A387FD #E1FD87
analogous
#87A6FD #A387FD #DE87FD
triadic
#A387FD #FDA387 #87FDA3
tetradic
#A387FD #FD87A6 #E1FD87 #87FDDE
square
#A387FD #FD87A6 #E1FD87 #87FDDE
split-complementary
#A387FD #FDDE87 #A6FD87
monochromatic
#470FFB #754BFC #A387FD #D1C3FE #E8E1FE

Accessibility & contrast

On white

2.82
#A387FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#A387FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A387FD
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A387FD#FFFFFF#000000##000000
##A387FD1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#6198FA
Tritanopia (blue-blind)
#8D9EB6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a387fd;
/* rgb */ color: rgb(163, 135, 253);
/* oklch */ color: oklch(70.0% 0.169 292.4);
Tailwind
colors: {
  custom: {
    50: '#c2aafe',
    500: '#a387fd',
    950: '#000000',
  },
}
SCSS
$custom: #a387fd;
$custom-light: #c2aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#a387fd",
  "rgb": {
    "r": 163,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 254.237,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.70023,
    "c": 0.16882,
    "h": 292.4
  },
  "luminance": 0.32206
}

Semantic roles & 50–950 ramp

primary
#A387FD
secondary
#EFF7D4
accent
#E600AF
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A387FD

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

Preview Lab → · Contrast checker → · Palette generator →

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