#A396EC#A396EC

#A396EC is a light, vivid blue. Relative luminance 0.357; OKLCH L 71.8% C 0.124 H 289.8°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#A396EC
RGBrgb(163, 150, 236)
HSLhsl(249, 69%, 76%)
HSVhsv(249, 36%, 93%)
CMYKcmyk(30.9%, 36.4%, 0%, 7.5%)
CIE-LABlab(66.26, 23.69, -41.65)
CIE-LCHlch(66.26, 47.92, 299.63°)
OKLaboklab(71.83% 0.042 -0.1163)
OKLCHoklch(71.83% 0.124 289.8)
XYZxyz(41.1470, 35.6545, 84.0547)
Luminance0.3565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A396EC #DFEC96
analogous
#96B4EC #A396EC #CE96EC
triadic
#A396EC #ECA396 #96ECA3
tetradic
#A396EC #EC96B4 #DFEC96 #96ECCE
square
#A396EC #EC96B4 #DFEC96 #96ECCE
split-complementary
#A396EC #ECCE96 #B4EC96
monochromatic
#482ED9 #7662E3 #A396EC #D0CAF5 #E8E5FA

Accessibility & contrast

On white

2.58
#A396EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#A396EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A396EC
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A396EC#FFFFFF#000000##000000
##A396EC1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA3EF
Deuteranopia (green-blind)
#7D9FEA
Tritanopia (blue-blind)
#92A6B6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a396ec;
/* rgb */ color: rgb(163, 150, 236);
/* oklch */ color: oklch(71.8% 0.124 289.8);
Tailwind
colors: {
  custom: {
    50: '#c0b5f2',
    500: '#a396ec',
    950: '#000000',
  },
}
SCSS
$custom: #a396ec;
$custom-light: #c0b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a396ec",
  "rgb": {
    "r": 163,
    "g": 150,
    "b": 236
  },
  "hsl": {
    "h": 249.07,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71832,
    "c": 0.12364,
    "h": 289.8
  },
  "luminance": 0.35655
}

Semantic roles & 50–950 ramp

primary
#A396EC
secondary
#EEF2D9
accent
#D114B5
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#121117
muted
#818085

Preview Lab

Preview with #A396EC

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

Preview Lab → · Contrast checker → · Palette generator →

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