#A397FE#A397FE

#A397FE is a light, vivid blue. Relative luminance 0.371; OKLCH L 72.9% C 0.147 H 287.5°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#A397FE
RGBrgb(163, 151, 254)
HSLhsl(247, 98%, 79%)
HSVhsv(247, 41%, 100%)
CMYKcmyk(35.8%, 40.6%, 0%, 0.4%)
CIE-LABlab(67.33, 27.76, -49.81)
CIE-LCHlch(67.33, 57.02, 299.13°)
OKLaboklab(72.93% 0.0442 -0.14)
OKLCHoklch(72.93% 0.147 287.5)
XYZxyz(44.0554, 37.0742, 98.5816)
Luminance0.3708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A397FE #F2FE97
analogous
#97BFFE #A397FE #D697FE
triadic
#A397FE #FEA397 #97FEA3
tetradic
#A397FE #FE97BF #F2FE97 #97FED6
square
#A397FE #FE97BF #F2FE97 #97FED6
split-complementary
#A397FE #FED697 #BFFE97
monochromatic
#381EFD #6D5AFD #A397FE #D9D4FF #E4E1FF

Accessibility & contrast

On white

2.50
#A397FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#A397FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A397FE
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A397FE#FFFFFF#000000##000000
##A397FE1.002.508.428.42
#FFFFFF2.501.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A6FF
Deuteranopia (green-blind)
#74A1FC
Tritanopia (blue-blind)
#8BABBE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a397fe;
/* rgb */ color: rgb(163, 151, 254);
/* oklch */ color: oklch(72.9% 0.147 287.5);
Tailwind
colors: {
  custom: {
    50: '#c1b5ff',
    500: '#a397fe',
    950: '#000000',
  },
}
SCSS
$custom: #a397fe;
$custom-light: #c1b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a397fe",
  "rgb": {
    "r": 163,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 246.99,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.72927,
    "c": 0.14678,
    "h": 287.5
  },
  "luminance": 0.37076
}

Semantic roles & 50–950 ramp

primary
#A397FE
secondary
#F3F7D4
accent
#E600CB
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #A397FE

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

Preview Lab → · Contrast checker → · Palette generator →

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