#A397E2#A397E2

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

Color values

HEX#A397E2
RGBrgb(163, 151, 226)
HSLhsl(250, 56%, 74%)
HSVhsv(250, 33%, 89%)
CMYKcmyk(27.9%, 33.2%, 0%, 11.4%)
CIE-LABlab(66.07, 20.63, -36.44)
CIE-LCHlch(66.07, 41.87, 299.52°)
OKLaboklab(71.55% 0.0383 -0.1013)
OKLCHoklch(71.55% 0.108 290.7)
XYZxyz(39.8949, 35.4100, 76.6697)
Luminance0.3541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A397E2 #D6E297
analogous
#97B1E2 #A397E2 #C997E2
triadic
#A397E2 #E2A397 #97E2A3
tetradic
#A397E2 #E297B1 #D6E297 #97E2C9
square
#A397E2 #E297B1 #D6E297 #97E2C9
split-complementary
#A397E2 #E2C997 #B1E297
monochromatic
#4E38C7 #7967D5 #A397E2 #CDC7EF #EAE7F8

Accessibility & contrast

On white

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

On black

8.08
#A397E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A397E2
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A397E2#FFFFFF#000000##000000
##A397E21.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A2E5
Deuteranopia (green-blind)
#839FE0
Tritanopia (blue-blind)
#95A4B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a397e2;
/* rgb */ color: rgb(163, 151, 226);
/* oklch */ color: oklch(71.5% 0.108 290.7);
Tailwind
colors: {
  custom: {
    50: '#c0b5eb',
    500: '#a397e2',
    950: '#000000',
  },
}
SCSS
$custom: #a397e2;
$custom-light: #c0b5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a397e2",
  "rgb": {
    "r": 163,
    "g": 151,
    "b": 226
  },
  "hsl": {
    "h": 249.6,
    "s": 56.391,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71545,
    "c": 0.10827,
    "h": 290.7
  },
  "luminance": 0.35411
}

Semantic roles & 50–950 ramp

primary
#A397E2
secondary
#ECF0DB
accent
#C422AA
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #A397E2

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

Preview Lab → · Contrast checker → · Palette generator →

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