#A397EE#A397EE

#A397EE is a light, vivid blue. Relative luminance 0.361; OKLCH L 72.1% C 0.125 H 289.2°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#A397EE
RGBrgb(163, 151, 238)
HSLhsl(248, 72%, 76%)
HSVhsv(248, 37%, 93%)
CMYKcmyk(31.5%, 36.6%, 0%, 6.7%)
CIE-LABlab(66.59, 23.63, -42.22)
CIE-LCHlch(66.59, 48.39, 299.24°)
OKLaboklab(72.12% 0.0411 -0.118)
OKLCHoklch(72.12% 0.125 289.2)
XYZxyz(41.5995, 36.0918, 85.6470)
Luminance0.3609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A397EE #E2EE97
analogous
#97B7EE #A397EE #CF97EE
triadic
#A397EE #EEA397 #97EEA3
tetradic
#A397EE #EE97B7 #E2EE97 #97EECF
square
#A397EE #EE97B7 #E2EE97 #97EECF
split-complementary
#A397EE #EECF97 #B7EE97
monochromatic
#462EDD #7462E5 #A397EE #D2CCF7 #E8E5FB

Accessibility & contrast

On white

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

On black

8.22
#A397EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A397EE
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A397EE#FFFFFF#000000##000000
##A397EE1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA4F1
Deuteranopia (green-blind)
#7DA0EC
Tritanopia (blue-blind)
#91A7B7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a397ee;
/* rgb */ color: rgb(163, 151, 238);
/* oklch */ color: oklch(72.1% 0.125 289.2);
Tailwind
colors: {
  custom: {
    50: '#c0b5f4',
    500: '#a397ee',
    950: '#000000',
  },
}
SCSS
$custom: #a397ee;
$custom-light: #c0b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a397ee",
  "rgb": {
    "r": 163,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 248.276,
    "s": 71.901,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72118,
    "c": 0.12491,
    "h": 289.2
  },
  "luminance": 0.36093
}

Semantic roles & 50–950 ramp

primary
#A397EE
secondary
#EFF2D9
accent
#D412B9
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#121117
muted
#818085

Preview Lab

Preview with #A397EE

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

Preview Lab → · Contrast checker → · Palette generator →

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