#A397E1#A397E1

#A397E1 is a light, moderate blue. Relative luminance 0.354; OKLCH L 71.5% C 0.107 H 290.9°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#A397E1
RGBrgb(163, 151, 225)
HSLhsl(250, 55%, 74%)
HSVhsv(250, 33%, 88%)
CMYKcmyk(27.6%, 32.9%, 0%, 11.8%)
CIE-LABlab(66.02, 20.38, -35.95)
CIE-LCHlch(66.02, 41.33, 299.55°)
OKLaboklab(71.5% 0.0381 -0.0999)
OKLCHoklch(71.5% 0.107 290.9)
XYZxyz(39.7581, 35.3553, 75.9491)
Luminance0.3536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A397E1 #D5E197
analogous
#97B0E1 #A397E1 #C897E1
triadic
#A397E1 #E1A397 #97E1A3
tetradic
#A397E1 #E197B0 #D5E197 #97E1C8
square
#A397E1 #E197B0 #D5E197 #97E1C8
split-complementary
#A397E1 #E1C897 #B0E197
monochromatic
#4F39C5 #7967D3 #A397E1 #CDC6EF #EAE7F8

Accessibility & contrast

On white

2.60
#A397E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#A397E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A397E1
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A397E1#FFFFFF#000000##000000
##A397E11.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A2E4
Deuteranopia (green-blind)
#849FDF
Tritanopia (blue-blind)
#95A4B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a397e1;
/* rgb */ color: rgb(163, 151, 225);
/* oklch */ color: oklch(71.5% 0.107 290.9);
Tailwind
colors: {
  custom: {
    50: '#bfb5ea',
    500: '#a397e1',
    950: '#000000',
  },
}
SCSS
$custom: #a397e1;
$custom-light: #bfb5ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a397e1",
  "rgb": {
    "r": 163,
    "g": 151,
    "b": 225
  },
  "hsl": {
    "h": 249.73,
    "s": 55.224,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71499,
    "c": 0.10687,
    "h": 290.9
  },
  "luminance": 0.35356
}

Semantic roles & 50–950 ramp

primary
#A397E1
secondary
#ECEFDC
accent
#C323A9
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #A397E1

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

Preview Lab → · Contrast checker → · Palette generator →

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