#A397ED#A397ED

#A397ED is a light, vivid blue. Relative luminance 0.360; OKLCH L 72.1% C 0.124 H 289.3°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#A397ED
RGBrgb(163, 151, 237)
HSLhsl(248, 70%, 76%)
HSVhsv(248, 36%, 93%)
CMYKcmyk(31.2%, 36.3%, 0%, 7.1%)
CIE-LABlab(66.55, 23.38, -41.75)
CIE-LCHlch(66.55, 47.85, 299.25°)
OKLaboklab(72.07% 0.0409 -0.1166)
OKLCHoklch(72.07% 0.124 289.3)
XYZxyz(41.4530, 36.0332, 84.8754)
Luminance0.3603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A397ED #E1ED97
analogous
#97B6ED #A397ED #CE97ED
triadic
#A397ED #EDA397 #97EDA3
tetradic
#A397ED #ED97B6 #E1ED97 #97EDCE
square
#A397ED #ED97B6 #E1ED97 #97EDCE
split-complementary
#A397ED #EDCE97 #B6ED97
monochromatic
#472FDB #7563E4 #A397ED #D1CBF6 #E8E5FA

Accessibility & contrast

On white

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

On black

8.21
#A397ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A397ED
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A397ED#FFFFFF#000000##000000
##A397ED1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a397ed;
/* rgb */ color: rgb(163, 151, 237);
/* oklch */ color: oklch(72.1% 0.124 289.3);
Tailwind
colors: {
  custom: {
    50: '#c0b5f3',
    500: '#a397ed',
    950: '#000000',
  },
}
SCSS
$custom: #a397ed;
$custom-light: #c0b5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a397ed",
  "rgb": {
    "r": 163,
    "g": 151,
    "b": 237
  },
  "hsl": {
    "h": 248.372,
    "s": 70.492,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72069,
    "c": 0.12352,
    "h": 289.3
  },
  "luminance": 0.36034
}

Semantic roles & 50–950 ramp

primary
#A397ED
secondary
#EFF2D9
accent
#D313B8
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#121117
muted
#818085

Preview Lab

Preview with #A397ED

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

Preview Lab → · Contrast checker → · Palette generator →

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