#A397EC#A397EC

#A397EC is a light, vivid blue. Relative luminance 0.360; OKLCH L 72.0% C 0.122 H 289.4°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#A397EC
RGBrgb(163, 151, 236)
HSLhsl(248, 69%, 76%)
HSVhsv(248, 36%, 93%)
CMYKcmyk(30.9%, 36%, 0%, 7.5%)
CIE-LABlab(66.50, 23.13, -41.27)
CIE-LCHlch(66.50, 47.30, 299.27°)
OKLaboklab(72.02% 0.0406 -0.1152)
OKLCHoklch(72.02% 0.122 289.4)
XYZxyz(41.3073, 35.9750, 84.1081)
Luminance0.3598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A397EC #E0EC97
analogous
#97B5EC #A397EC #CD97EC
triadic
#A397EC #ECA397 #97ECA3
tetradic
#A397EC #EC97B5 #E0EC97 #97ECCD
square
#A397EC #EC97B5 #E0EC97 #97ECCD
split-complementary
#A397EC #ECCD97 #B5EC97
monochromatic
#4730D9 #7563E3 #A397EC #D1CBF5 #E8E5FA

Accessibility & contrast

On white

2.56
#A397EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#A397EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A397EC
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A397EC#FFFFFF#000000##000000
##A397EC1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3EF
Deuteranopia (green-blind)
#7EA0EA
Tritanopia (blue-blind)
#92A6B6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a397ec;
/* rgb */ color: rgb(163, 151, 236);
/* oklch */ color: oklch(72.0% 0.122 289.4);
Tailwind
colors: {
  custom: {
    50: '#c0b5f2',
    500: '#a397ec',
    950: '#000000',
  },
}
SCSS
$custom: #a397ec;
$custom-light: #c0b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a397ec",
  "rgb": {
    "r": 163,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 248.471,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7202,
    "c": 0.12215,
    "h": 289.4
  },
  "luminance": 0.35976
}

Semantic roles & 50–950 ramp

primary
#A397EC
secondary
#EEF2D9
accent
#D114B6
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#121117
muted
#818085

Preview Lab

Preview with #A397EC

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

Preview Lab → · Contrast checker → · Palette generator →

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