#A387FC#A387FC

#A387FC is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.0% C 0.168 H 292.5°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#A387FC
RGBrgb(163, 135, 252)
HSLhsl(254, 95%, 76%)
HSVhsv(254, 46%, 99%)
CMYKcmyk(35.3%, 46.4%, 0%, 1.2%)
CIE-LABlab(63.46, 36.32, -54.85)
CIE-LCHlch(63.46, 65.78, 303.51°)
OKLaboklab(69.97% 0.0642 -0.1547)
OKLCHoklch(69.97% 0.168 292.5)
XYZxyz(41.3343, 32.1418, 96.1028)
Luminance0.3214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A387FC #E0FC87
analogous
#87A5FC #A387FC #DD87FC
triadic
#A387FC #FCA387 #87FCA3
tetradic
#A387FC #FC87A5 #E0FC87 #87FCDD
square
#A387FC #FC87A5 #E0FC87 #87FCDD
split-complementary
#A387FC #FCDD87 #A5FC87
monochromatic
#4710F9 #754BFB #A387FC #D1C3FD #E8E1FE

Accessibility & contrast

On white

2.83
#A387FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#A387FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A387FC
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A387FC#FFFFFF#000000##000000
##A387FC1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#6297F9
Tritanopia (blue-blind)
#8D9EB6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a387fc;
/* rgb */ color: rgb(163, 135, 252);
/* oklch */ color: oklch(70.0% 0.168 292.5);
Tailwind
colors: {
  custom: {
    50: '#c2aafe',
    500: '#a387fc',
    950: '#000000',
  },
}
SCSS
$custom: #a387fc;
$custom-light: #c2aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#a387fc",
  "rgb": {
    "r": 163,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 254.359,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.69966,
    "c": 0.16752,
    "h": 292.5
  },
  "luminance": 0.32143
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A387FC

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

Preview Lab → · Contrast checker → · Palette generator →

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