#A387FF#A387FF

#A387FF is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.1% C 0.171 H 292.1°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#A387FF
RGBrgb(163, 135, 255)
HSLhsl(254, 100%, 76%)
HSVhsv(254, 47%, 100%)
CMYKcmyk(36.1%, 47.1%, 0%, 0%)
CIE-LABlab(63.62, 37.09, -56.24)
CIE-LCHlch(63.62, 67.37, 303.41°)
OKLaboklab(70.14% 0.0646 -0.1588)
OKLCHoklch(70.14% 0.171 292.1)
XYZxyz(41.8135, 32.3335, 98.6263)
Luminance0.3233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A387FF #E3FF87
analogous
#87A7FF #A387FF #DF87FF
triadic
#A387FF #FFA387 #87FFA3
tetradic
#A387FF #FF87A7 #E3FF87 #87FFDF
square
#A387FF #FF87A7 #E3FF87 #87FFDF
split-complementary
#A387FF #FFDF87 #A7FF87
monochromatic
#450DFF #744AFF #A387FF #D2C4FF #E8E0FF

Accessibility & contrast

On white

2.81
#A387FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#A387FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A387FF
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A387FF#FFFFFF#000000##000000
##A387FF1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9CFF
Deuteranopia (green-blind)
#5F98FC
Tritanopia (blue-blind)
#8C9FB7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a387ff;
/* rgb */ color: rgb(163, 135, 255);
/* oklch */ color: oklch(70.1% 0.171 292.1);
Tailwind
colors: {
  custom: {
    50: '#c2aaff',
    500: '#a387ff',
    950: '#000000',
  },
}
SCSS
$custom: #a387ff;
$custom-light: #c2aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#a387ff",
  "rgb": {
    "r": 163,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 254,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.70136,
    "c": 0.17141,
    "h": 292.1
  },
  "luminance": 0.32334
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A387FF

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

Preview Lab → · Contrast checker → · Palette generator →

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