#A397CE#A397CE

#A397CE is a light, moderate violet. Relative luminance 0.344; OKLCH L 70.7% C 0.080 H 294.3°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#A397CE
RGBrgb(163, 151, 206)
HSLhsl(253, 36%, 70%)
HSVhsv(253, 27%, 81%)
CMYKcmyk(20.9%, 26.7%, 0%, 19.2%)
CIE-LABlab(65.26, 15.84, -26.60)
CIE-LCHlch(65.26, 30.96, 300.77°)
OKLaboklab(70.66% 0.033 -0.0731)
OKLCHoklch(70.66% 0.08 294.3)
XYZxyz(37.3089, 34.3756, 63.0501)
Luminance0.3438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A397CE #C2CE97
analogous
#97A6CE #A397CE #BF97CE
triadic
#A397CE #CEA397 #97CEA3
tetradic
#A397CE #CE97A6 #C2CE97 #97CEBF
square
#A397CE #CE97A6 #C2CE97 #97CEBF
split-complementary
#A397CE #CEBF97 #A6CE97
monochromatic
#5E4B9F #7E6DBA #A397CE #C8C1E2 #EDEAF5

Accessibility & contrast

On white

2.67
#A397CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#A397CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A397CE
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A397CE#FFFFFF#000000##000000
##A397CE1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9FD0
Deuteranopia (green-blind)
#8B9ECC
Tritanopia (blue-blind)
#9BA0AA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a397ce;
/* rgb */ color: rgb(163, 151, 206);
/* oklch */ color: oklch(70.7% 0.080 294.3);
Tailwind
colors: {
  custom: {
    50: '#bfb5dd',
    500: '#a397ce',
    950: '#000000',
  },
}
SCSS
$custom: #a397ce;
$custom-light: #bfb5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a397ce",
  "rgb": {
    "r": 163,
    "g": 151,
    "b": 206
  },
  "hsl": {
    "h": 253.091,
    "s": 35.948,
    "l": 70
  },
  "oklch": {
    "l": 0.70658,
    "c": 0.08023,
    "h": 294.3
  },
  "luminance": 0.34376
}

Semantic roles & 50–950 ramp

primary
#A397CE
secondary
#E5E8D9
accent
#AF3795
background
#FBFBFD
surface
#F7F6FB
border
#D0D0D4
text
#121115
muted
#818083

Preview Lab

Preview with #A397CE

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

Preview Lab → · Contrast checker → · Palette generator →

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