#A397DC#A397DC

#A397DC is a light, moderate violet. Relative luminance 0.351; OKLCH L 71.3% C 0.100 H 291.6°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#A397DC
RGBrgb(163, 151, 220)
HSLhsl(250, 50%, 73%)
HSVhsv(250, 31%, 86%)
CMYKcmyk(25.9%, 31.4%, 0%, 13.7%)
CIE-LABlab(65.82, 19.16, -33.51)
CIE-LCHlch(65.82, 38.60, 299.76°)
OKLaboklab(71.27% 0.0368 -0.0929)
OKLCHoklch(71.27% 0.1 291.6)
XYZxyz(39.0860, 35.0865, 72.4094)
Luminance0.3509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A397DC #D0DC97
analogous
#97ADDC #A397DC #C597DC
triadic
#A397DC #DCA397 #97DCA3
tetradic
#A397DC #DC97AD #D0DC97 #97DCC5
square
#A397DC #DC97AD #D0DC97 #97DCC5
split-complementary
#A397DC #DCC597 #ADDC97
monochromatic
#543FBA #7A69CD #A397DC #CCC5EB #EBE8F7

Accessibility & contrast

On white

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

On black

8.02
#A397DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A397DC
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A397DC#FFFFFF#000000##000000
##A397DC1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A1DF
Deuteranopia (green-blind)
#869FDA
Tritanopia (blue-blind)
#97A3B0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a397dc;
/* rgb */ color: rgb(163, 151, 220);
/* oklch */ color: oklch(71.3% 0.100 291.6);
Tailwind
colors: {
  custom: {
    50: '#bfb5e7',
    500: '#a397dc',
    950: '#000000',
  },
}
SCSS
$custom: #a397dc;
$custom-light: #bfb5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a397dc",
  "rgb": {
    "r": 163,
    "g": 151,
    "b": 220
  },
  "hsl": {
    "h": 250.435,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.7127,
    "c": 0.09989,
    "h": 291.6
  },
  "luminance": 0.35087
}

Semantic roles & 50–950 ramp

primary
#A397DC
secondary
#EBEEDD
accent
#BD29A3
background
#FBFBFE
surface
#F7F6FC
border
#D0D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #A397DC

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

Preview Lab → · Contrast checker → · Palette generator →

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