#A397DB#A397DB

#A397DB is a light, moderate violet. Relative luminance 0.350; OKLCH L 71.2% C 0.098 H 291.8°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#A397DB
RGBrgb(163, 151, 219)
HSLhsl(251, 49%, 73%)
HSVhsv(251, 31%, 86%)
CMYKcmyk(25.6%, 31.1%, 0%, 14.1%)
CIE-LABlab(65.77, 18.92, -33.02)
CIE-LCHlch(65.77, 38.06, 299.81°)
OKLaboklab(71.23% 0.0366 -0.0914)
OKLCHoklch(71.23% 0.098 291.8)
XYZxyz(38.9539, 35.0336, 71.7140)
Luminance0.3503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A397DB #CFDB97
analogous
#97ADDB #A397DB #C597DB
triadic
#A397DB #DBA397 #97DBA3
tetradic
#A397DB #DB97AD #CFDB97 #97DBC5
square
#A397DB #DB97AD #CFDB97 #97DBC5
split-complementary
#A397DB #DBC597 #ADDB97
monochromatic
#5540B8 #7B6ACB #A397DB #CBC4EB #EBE8F7

Accessibility & contrast

On white

2.62
#A397DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#A397DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A397DB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A397DB#FFFFFF#000000##000000
##A397DB1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A1DE
Deuteranopia (green-blind)
#869ED9
Tritanopia (blue-blind)
#97A3AF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a397db;
/* rgb */ color: rgb(163, 151, 219);
/* oklch */ color: oklch(71.2% 0.098 291.8);
Tailwind
colors: {
  custom: {
    50: '#bfb5e6',
    500: '#a397db',
    950: '#000000',
  },
}
SCSS
$custom: #a397db;
$custom-light: #bfb5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a397db",
  "rgb": {
    "r": 163,
    "g": 151,
    "b": 219
  },
  "hsl": {
    "h": 250.588,
    "s": 48.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71225,
    "c": 0.09849,
    "h": 291.8
  },
  "luminance": 0.35034
}

Semantic roles & 50–950 ramp

primary
#A397DB
secondary
#EBEEDD
accent
#BC2AA2
background
#FBFBFE
surface
#F7F6FC
border
#D0D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #A397DB

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

Preview Lab → · Contrast checker → · Palette generator →

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