#A397FF#A397FF

#A397FF is a light, vivid blue. Relative luminance 0.371; OKLCH L 73.0% C 0.148 H 287.4°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#A397FF
RGBrgb(163, 151, 255)
HSLhsl(247, 100%, 80%)
HSVhsv(247, 41%, 100%)
CMYKcmyk(36.1%, 40.8%, 0%, 0%)
CIE-LABlab(67.38, 28.02, -50.27)
CIE-LCHlch(67.38, 57.56, 299.13°)
OKLaboklab(72.98% 0.0444 -0.1413)
OKLCHoklch(72.98% 0.148 287.4)
XYZxyz(44.2159, 37.1384, 99.4271)
Luminance0.3714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A397FF #F3FF97
analogous
#97BFFF #A397FF #D797FF
triadic
#A397FF #FFA397 #97FFA3
tetradic
#A397FF #FF97BF #F3FF97 #97FFD7
square
#A397FF #FF97BF #F3FF97 #97FFD7
split-complementary
#A397FF #FFD797 #BFFF97
monochromatic
#371DFF #6D5AFF #A397FF #D9D4FF #E4E0FF

Accessibility & contrast

On white

2.49
#A397FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#A397FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A397FF
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A397FF#FFFFFF#000000##000000
##A397FF1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A7FF
Deuteranopia (green-blind)
#73A1FC
Tritanopia (blue-blind)
#8BABBF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a397ff;
/* rgb */ color: rgb(163, 151, 255);
/* oklch */ color: oklch(73.0% 0.148 287.4);
Tailwind
colors: {
  custom: {
    50: '#c1b5ff',
    500: '#a397ff',
    950: '#000000',
  },
}
SCSS
$custom: #a397ff;
$custom-light: #c1b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a397ff",
  "rgb": {
    "r": 163,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 246.923,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.72979,
    "c": 0.14814,
    "h": 287.4
  },
  "luminance": 0.3714
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A397FF

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

Preview Lab → · Contrast checker → · Palette generator →

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