#A396EF#A396EF

#A396EF is a light, vivid blue. Relative luminance 0.358; OKLCH L 72.0% C 0.128 H 289.5°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#A396EF
RGBrgb(163, 150, 239)
HSLhsl(249, 74%, 76%)
HSVhsv(249, 37%, 94%)
CMYKcmyk(31.8%, 37.2%, 0%, 6.3%)
CIE-LABlab(66.39, 24.45, -43.09)
CIE-LCHlch(66.39, 49.54, 299.58°)
OKLaboklab(71.98% 0.0426 -0.1205)
OKLCHoklch(71.98% 0.128 289.5)
XYZxyz(41.5865, 35.8303, 86.3695)
Luminance0.3583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A396EF #E2EF96
analogous
#96B6EF #A396EF #D096EF
triadic
#A396EF #EFA396 #96EFA3
tetradic
#A396EF #EF96B6 #E2EF96 #96EFD0
square
#A396EF #EF96B6 #E2EF96 #96EFD0
split-complementary
#A396EF #EFD096 #B6EF96
monochromatic
#462CDF #7461E7 #A396EF #D2CBF7 #E8E4FB

Accessibility & contrast

On white

2.57
#A396EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#A396EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A396EF
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A396EF#FFFFFF#000000##000000
##A396EF1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F2
Deuteranopia (green-blind)
#7C9FED
Tritanopia (blue-blind)
#91A6B7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a396ef;
/* rgb */ color: rgb(163, 150, 239);
/* oklch */ color: oklch(72.0% 0.128 289.5);
Tailwind
colors: {
  custom: {
    50: '#c0b5f4',
    500: '#a396ef',
    950: '#000000',
  },
}
SCSS
$custom: #a396ef;
$custom-light: #c0b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a396ef",
  "rgb": {
    "r": 163,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 248.764,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7198,
    "c": 0.12778,
    "h": 289.5
  },
  "luminance": 0.35831
}

Semantic roles & 50–950 ramp

primary
#A396EF
secondary
#EFF3D8
accent
#D610B9
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#121117
muted
#818085

Preview Lab

Preview with #A396EF

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

Preview Lab → · Contrast checker → · Palette generator →

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