#A397EB#A397EB

#A397EB is a light, vivid blue. Relative luminance 0.359; OKLCH L 72.0% C 0.121 H 289.6°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#A397EB
RGBrgb(163, 151, 235)
HSLhsl(249, 68%, 76%)
HSVhsv(249, 36%, 92%)
CMYKcmyk(30.6%, 35.7%, 0%, 7.8%)
CIE-LABlab(66.46, 22.87, -40.79)
CIE-LCHlch(66.46, 46.76, 299.28°)
OKLaboklab(71.97% 0.0404 -0.1138)
OKLCHoklch(71.97% 0.121 289.6)
XYZxyz(41.1624, 35.9170, 83.3451)
Luminance0.3592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A397EB #DFEB97
analogous
#97B5EB #A397EB #CD97EB
triadic
#A397EB #EBA397 #97EBA3
tetradic
#A397EB #EB97B5 #DFEB97 #97EBCD
square
#A397EB #EB97B5 #DFEB97 #97EBCD
split-complementary
#A397EB #EBCD97 #B5EB97
monochromatic
#4830D7 #7664E1 #A397EB #D0CAF5 #E8E5FA

Accessibility & contrast

On white

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

On black

8.18
#A397EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A397EB
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A397EB#FFFFFF#000000##000000
##A397EB1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a397eb;
/* rgb */ color: rgb(163, 151, 235);
/* oklch */ color: oklch(72.0% 0.121 289.6);
Tailwind
colors: {
  custom: {
    50: '#c0b5f2',
    500: '#a397eb',
    950: '#000000',
  },
}
SCSS
$custom: #a397eb;
$custom-light: #c0b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a397eb",
  "rgb": {
    "r": 163,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 248.571,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71972,
    "c": 0.12077,
    "h": 289.6
  },
  "luminance": 0.35918
}

Semantic roles & 50–950 ramp

primary
#A397EB
secondary
#EEF2D9
accent
#D016B5
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#121117
muted
#818085

Preview Lab

Preview with #A397EB

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

Preview Lab → · Contrast checker → · Palette generator →

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