#A397FA#A397FA

#A397FA is a light, vivid blue. Relative luminance 0.368; OKLCH L 72.7% C 0.141 H 287.9°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#A397FA
RGBrgb(163, 151, 250)
HSLhsl(247, 91%, 79%)
HSVhsv(247, 40%, 98%)
CMYKcmyk(34.8%, 39.6%, 0%, 2%)
CIE-LABlab(67.14, 26.71, -47.92)
CIE-LCHlch(67.14, 54.87, 299.14°)
OKLaboklab(72.72% 0.0435 -0.1345)
OKLCHoklch(72.72% 0.141 287.9)
XYZxyz(43.4215, 36.8207, 95.2433)
Luminance0.3682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A397FA #EEFA97
analogous
#97BCFA #A397FA #D497FA
triadic
#A397FA #FAA397 #97FAA3
tetradic
#A397FA #FA97BC #EEFA97 #97FAD4
square
#A397FA #FA97BC #EEFA97 #97FAD4
split-complementary
#A397FA #FAD497 #BCFA97
monochromatic
#3C22F4 #6F5DF7 #A397FA #D7D1FD #E5E2FE

Accessibility & contrast

On white

2.51
#A397FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#A397FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A397FA
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A397FA#FFFFFF#000000##000000
##A397FA1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FE
Deuteranopia (green-blind)
#77A1F8
Tritanopia (blue-blind)
#8DAABD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a397fa;
/* rgb */ color: rgb(163, 151, 250);
/* oklch */ color: oklch(72.7% 0.141 287.9);
Tailwind
colors: {
  custom: {
    50: '#c1b5fc',
    500: '#a397fa',
    950: '#000000',
  },
}
SCSS
$custom: #a397fa;
$custom-light: #c1b5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a397fa",
  "rgb": {
    "r": 163,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 247.273,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.7272,
    "c": 0.14135,
    "h": 287.9
  },
  "luminance": 0.36822
}

Semantic roles & 50–950 ramp

primary
#A397FA
secondary
#F2F6D5
accent
#E600CA
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A397FA

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

Preview Lab → · Contrast checker → · Palette generator →

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