#A397FD#A397FD

#A397FD is a light, vivid blue. Relative luminance 0.370; OKLCH L 72.9% C 0.145 H 287.6°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#A397FD
RGBrgb(163, 151, 253)
HSLhsl(247, 96%, 79%)
HSVhsv(247, 40%, 99%)
CMYKcmyk(35.6%, 40.3%, 0%, 0.8%)
CIE-LABlab(67.28, 27.50, -49.34)
CIE-LCHlch(67.28, 56.48, 299.13°)
OKLaboklab(72.88% 0.044 -0.1386)
OKLCHoklch(72.88% 0.145 287.6)
XYZxyz(43.8957, 37.0103, 97.7404)
Luminance0.3701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A397FD #F1FD97
analogous
#97BEFD #A397FD #D697FD
triadic
#A397FD #FDA397 #97FDA3
tetradic
#A397FD #FD97BE #F1FD97 #97FDD6
square
#A397FD #FD97BE #F1FD97 #97FDD6
split-complementary
#A397FD #FDD697 #BEFD97
monochromatic
#391FFB #6E5BFC #A397FD #D8D3FE #E4E1FE

Accessibility & contrast

On white

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

On black

8.40
#A397FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A397FD
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A397FD#FFFFFF#000000##000000
##A397FD1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A6FF
Deuteranopia (green-blind)
#75A1FB
Tritanopia (blue-blind)
#8CAABE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a397fd;
/* rgb */ color: rgb(163, 151, 253);
/* oklch */ color: oklch(72.9% 0.145 287.6);
Tailwind
colors: {
  custom: {
    50: '#c1b5fe',
    500: '#a397fd',
    950: '#000000',
  },
}
SCSS
$custom: #a397fd;
$custom-light: #c1b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a397fd",
  "rgb": {
    "r": 163,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 247.059,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.72875,
    "c": 0.14543,
    "h": 287.6
  },
  "luminance": 0.37012
}

Semantic roles & 50–950 ramp

primary
#A397FD
secondary
#F3F7D4
accent
#E600CA
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #A397FD

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

Preview Lab → · Contrast checker → · Palette generator →

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