#A386EE#A386EE

#A386EE is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.0% C 0.151 H 295.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#A386EE
RGBrgb(163, 134, 238)
HSLhsl(257, 75%, 73%)
HSVhsv(257, 44%, 93%)
CMYKcmyk(31.5%, 43.7%, 0%, 6.7%)
CIE-LABlab(62.52, 33.30, -48.64)
CIE-LCHlch(62.52, 58.95, 304.40°)
OKLaboklab(69.02% 0.0637 -0.1366)
OKLCHoklch(69.02% 0.151 295)
XYZxyz(39.0581, 31.0092, 84.7999)
Luminance0.3101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A386EE #D1EE86
analogous
#869DEE #A386EE #D786EE
triadic
#A386EE #EEA386 #86EEA3
tetradic
#A386EE #EE869D #D1EE86 #86EED7
square
#A386EE #EE869D #D1EE86 #86EED7
split-complementary
#A386EE #EED786 #9DEE86
monochromatic
#531FDB #7A50E6 #A386EE #CCBCF6 #EBE4FB

Accessibility & contrast

On white

2.92
#A386EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#A386EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A386EE
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A386EE#FFFFFF#000000##000000
##A386EE1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F2
Deuteranopia (green-blind)
#6A96EB
Tritanopia (blue-blind)
#9299AF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a386ee;
/* rgb */ color: rgb(163, 134, 238);
/* oklch */ color: oklch(69.0% 0.151 295.0);
Tailwind
colors: {
  custom: {
    50: '#c1a9f4',
    500: '#a386ee',
    950: '#000000',
  },
}
SCSS
$custom: #a386ee;
$custom-light: #c1a9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a386ee",
  "rgb": {
    "r": 163,
    "g": 134,
    "b": 238
  },
  "hsl": {
    "h": 256.731,
    "s": 75.362,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69023,
    "c": 0.1507,
    "h": 295
  },
  "luminance": 0.3101
}

Semantic roles & 50–950 ramp

primary
#A386EE
secondary
#EBF3D8
accent
#D80E9F
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A386EE

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

Preview Lab → · Contrast checker → · Palette generator →

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