#A397EF#A397EF

#A397EF is a light, vivid blue. Relative luminance 0.362; OKLCH L 72.2% C 0.126 H 289.1°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#A397EF
RGBrgb(163, 151, 239)
HSLhsl(248, 73%, 76%)
HSVhsv(248, 37%, 94%)
CMYKcmyk(31.8%, 36.8%, 0%, 6.3%)
CIE-LABlab(66.64, 23.89, -42.70)
CIE-LCHlch(66.64, 48.93, 299.22°)
OKLaboklab(72.17% 0.0413 -0.1193)
OKLCHoklch(72.17% 0.126 289.1)
XYZxyz(41.7468, 36.1508, 86.4229)
Luminance0.3615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A397EF #E3EF97
analogous
#97B7EF #A397EF #CF97EF
triadic
#A397EF #EFA397 #97EFA3
tetradic
#A397EF #EF97B7 #E3EF97 #97EFCF
square
#A397EF #EF97B7 #E3EF97 #97EFCF
split-complementary
#A397EF #EFCF97 #B7EF97
monochromatic
#452DDF #7462E7 #A397EF #D2CCF7 #E8E4FB

Accessibility & contrast

On white

2.55
#A397EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#A397EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A397EF
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A397EF#FFFFFF#000000##000000
##A397EF1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA4F2
Deuteranopia (green-blind)
#7DA0ED
Tritanopia (blue-blind)
#91A7B8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a397ef;
/* rgb */ color: rgb(163, 151, 239);
/* oklch */ color: oklch(72.2% 0.126 289.1);
Tailwind
colors: {
  custom: {
    50: '#c0b5f4',
    500: '#a397ef',
    950: '#000000',
  },
}
SCSS
$custom: #a397ef;
$custom-light: #c0b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a397ef",
  "rgb": {
    "r": 163,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 248.182,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72167,
    "c": 0.12629,
    "h": 289.1
  },
  "luminance": 0.36152
}

Semantic roles & 50–950 ramp

primary
#A397EF
secondary
#EFF3D8
accent
#D510BB
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#121117
muted
#818085

Preview Lab

Preview with #A397EF

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

Preview Lab → · Contrast checker → · Palette generator →

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