#A397EA#A397EA

#A397EA is a light, moderate blue. Relative luminance 0.359; OKLCH L 71.9% C 0.119 H 289.7°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#A397EA
RGBrgb(163, 151, 234)
HSLhsl(249, 66%, 75%)
HSVhsv(249, 35%, 92%)
CMYKcmyk(30.3%, 35.5%, 0%, 8.2%)
CIE-LABlab(66.41, 22.62, -40.30)
CIE-LCHlch(66.41, 46.22, 299.30°)
OKLaboklab(71.92% 0.0402 -0.1124)
OKLCHoklch(71.92% 0.119 289.7)
XYZxyz(41.0183, 35.8594, 82.5864)
Luminance0.3586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A397EA #DEEA97
analogous
#97B4EA #A397EA #CD97EA
triadic
#A397EA #EAA397 #97EAA3
tetradic
#A397EA #EA97B4 #DEEA97 #97EACD
square
#A397EA #EA97B4 #DEEA97 #97EACD
split-complementary
#A397EA #EACD97 #B4EA97
monochromatic
#4931D5 #7664E0 #A397EA #D0CAF4 #E8E6FA

Accessibility & contrast

On white

2.57
#A397EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#A397EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A397EA
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A397EA#FFFFFF#000000##000000
##A397EA1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA3ED
Deuteranopia (green-blind)
#7FA0E8
Tritanopia (blue-blind)
#92A6B6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a397ea;
/* rgb */ color: rgb(163, 151, 234);
/* oklch */ color: oklch(71.9% 0.119 289.7);
Tailwind
colors: {
  custom: {
    50: '#c0b5f1',
    500: '#a397ea',
    950: '#000000',
  },
}
SCSS
$custom: #a397ea;
$custom-light: #c0b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a397ea",
  "rgb": {
    "r": 163,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 248.675,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71923,
    "c": 0.11938,
    "h": 289.7
  },
  "luminance": 0.3586
}

Semantic roles & 50–950 ramp

primary
#A397EA
secondary
#EEF1DA
accent
#CE17B4
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #A397EA

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

Preview Lab → · Contrast checker → · Palette generator →

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