#A386FC#A386FC

#A386FC is a light, vivid violet. Relative luminance 0.319; OKLCH L 69.8% C 0.169 H 292.8°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#A386FC
RGBrgb(163, 134, 252)
HSLhsl(255, 95%, 76%)
HSVhsv(255, 47%, 99%)
CMYKcmyk(35.3%, 46.8%, 0%, 1.2%)
CIE-LABlab(63.23, 36.88, -55.21)
CIE-LCHlch(63.23, 66.40, 303.74°)
OKLaboklab(69.79% 0.0655 -0.1558)
OKLCHoklch(69.79% 0.169 292.8)
XYZxyz(41.1955, 31.8641, 96.0565)
Luminance0.3186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A386FC #DFFC86
analogous
#86A4FC #A386FC #DE86FC
triadic
#A386FC #FCA386 #86FCA3
tetradic
#A386FC #FC86A4 #DFFC86 #86FCDE
square
#A386FC #FC86A4 #DFFC86 #86FCDE
split-complementary
#A386FC #FCDE86 #A4FC86
monochromatic
#480FF9 #764AFB #A386FC #D0C2FD #E8E1FE

Accessibility & contrast

On white

2.85
#A386FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#A386FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A386FC
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A386FC#FFFFFF#000000##000000
##A386FC1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9BFF
Deuteranopia (green-blind)
#6097F9
Tritanopia (blue-blind)
#8D9DB5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a386fc;
/* rgb */ color: rgb(163, 134, 252);
/* oklch */ color: oklch(69.8% 0.169 292.8);
Tailwind
colors: {
  custom: {
    50: '#c2a9fe',
    500: '#a386fc',
    950: '#000000',
  },
}
SCSS
$custom: #a386fc;
$custom-light: #c2a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a386fc",
  "rgb": {
    "r": 163,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 254.746,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.69794,
    "c": 0.16899,
    "h": 292.8
  },
  "luminance": 0.31865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A386FC

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

Preview Lab → · Contrast checker → · Palette generator →

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