#A387FA#A387FA

#A387FA is a light, vivid violet. Relative luminance 0.320; OKLCH L 69.9% C 0.165 H 292.8°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#A387FA
RGBrgb(163, 135, 250)
HSLhsl(255, 92%, 75%)
HSVhsv(255, 46%, 98%)
CMYKcmyk(34.8%, 46%, 0%, 2%)
CIE-LABlab(63.36, 35.80, -53.92)
CIE-LCHlch(63.36, 64.72, 303.58°)
OKLaboklab(69.85% 0.064 -0.152)
OKLCHoklch(69.85% 0.165 292.8)
XYZxyz(41.0191, 32.0157, 94.4424)
Luminance0.3202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A387FA #DEFA87
analogous
#87A4FA #A387FA #DD87FA
triadic
#A387FA #FAA387 #87FAA3
tetradic
#A387FA #FA87A4 #DEFA87 #87FADD
square
#A387FA #FA87A4 #DEFA87 #87FADD
split-complementary
#A387FA #FADD87 #A4FA87
monochromatic
#4911F5 #764CF8 #A387FA #D0C2FC #E8E2FE

Accessibility & contrast

On white

2.84
#A387FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#A387FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A387FA
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A387FA#FFFFFF#000000##000000
##A387FA1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFE
Deuteranopia (green-blind)
#6397F7
Tritanopia (blue-blind)
#8E9DB5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a387fa;
/* rgb */ color: rgb(163, 135, 250);
/* oklch */ color: oklch(69.9% 0.165 292.8);
Tailwind
colors: {
  custom: {
    50: '#c2aafc',
    500: '#a387fa',
    950: '#000000',
  },
}
SCSS
$custom: #a387fa;
$custom-light: #c2aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#a387fa",
  "rgb": {
    "r": 163,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 254.609,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.69854,
    "c": 0.16491,
    "h": 292.8
  },
  "luminance": 0.32017
}

Semantic roles & 50–950 ramp

primary
#A387FA
secondary
#EEF6D5
accent
#E600AE
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A387FA

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

Preview Lab → · Contrast checker → · Palette generator →

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