#A386EA#A386EA

#A386EA is a light, vivid violet. Relative luminance 0.308; OKLCH L 68.8% C 0.145 H 295.7°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#A386EA
RGBrgb(163, 134, 234)
HSLhsl(257, 70%, 72%)
HSVhsv(257, 43%, 92%)
CMYKcmyk(30.3%, 42.7%, 0%, 8.2%)
CIE-LABlab(62.32, 32.30, -46.74)
CIE-LCHlch(62.32, 56.81, 304.65°)
OKLaboklab(68.81% 0.0631 -0.131)
OKLCHoklch(68.81% 0.145 295.7)
XYZxyz(38.4770, 30.7767, 81.7393)
Luminance0.3078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A386EA #CDEA86
analogous
#869BEA #A386EA #D586EA
triadic
#A386EA #EAA386 #86EAA3
tetradic
#A386EA #EA869B #CDEA86 #86EAD5
square
#A386EA #EA869B #CDEA86 #86EAD5
split-complementary
#A386EA #EAD586 #9BEA86
monochromatic
#5624D1 #7B52E1 #A386EA #CBBAF3 #EBE5FA

Accessibility & contrast

On white

2.93
#A386EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#A386EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A386EA
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A386EA#FFFFFF#000000##000000
##A386EA1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6897EE
Deuteranopia (green-blind)
#6D95E8
Tritanopia (blue-blind)
#9498AD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a386ea;
/* rgb */ color: rgb(163, 134, 234);
/* oklch */ color: oklch(68.8% 0.145 295.7);
Tailwind
colors: {
  custom: {
    50: '#c1a9f1',
    500: '#a386ea',
    950: '#000000',
  },
}
SCSS
$custom: #a386ea;
$custom-light: #c1a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a386ea",
  "rgb": {
    "r": 163,
    "g": 134,
    "b": 234
  },
  "hsl": {
    "h": 257.4,
    "s": 70.423,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68811,
    "c": 0.14543,
    "h": 295.7
  },
  "luminance": 0.30777
}

Semantic roles & 50–950 ramp

primary
#A386EA
secondary
#EBF2D9
accent
#D2139B
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A386EA

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

Preview Lab → · Contrast checker → · Palette generator →

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