#A397BB#A397BB

#A397BB is a light, muted violet. Relative luminance 0.335; OKLCH L 69.9% C 0.054 H 300.3°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#A397BB
RGBrgb(163, 151, 187)
HSLhsl(260, 21%, 66%)
HSVhsv(260, 19%, 73%)
CMYKcmyk(12.8%, 19.3%, 0%, 26.7%)
CIE-LABlab(64.57, 11.57, -17.04)
CIE-LCHlch(64.57, 20.59, 304.19°)
OKLaboklab(69.9% 0.027 -0.0463)
OKLCHoklch(69.9% 0.054 300.3)
XYZxyz(35.1387, 33.5076, 51.6205)
Luminance0.3351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A397BB #AFBB97
analogous
#979DBB #A397BB #B597BB
triadic
#A397BB #BBA397 #97BBA3
tetradic
#A397BB #BB979D #AFBB97 #97BBB5
square
#A397BB #BB979D #AFBB97 #97BBB5
split-complementary
#A397BB #BBB597 #9DBB97
monochromatic
#645582 #8272A3 #A397BB #C4BCD3 #E4E1EB

Accessibility & contrast

On white

2.73
#A397BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#A397BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A397BB
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A397BB#FFFFFF#000000##000000
##A397BB1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#909CBD
Deuteranopia (green-blind)
#929CBA
Tritanopia (blue-blind)
#9F9CA3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a397bb;
/* rgb */ color: rgb(163, 151, 187);
/* oklch */ color: oklch(69.9% 0.054 300.3);
Tailwind
colors: {
  custom: {
    50: '#beb5cf',
    500: '#a397bb',
    950: '#000000',
  },
}
SCSS
$custom: #a397bb;
$custom-light: #beb5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a397bb",
  "rgb": {
    "r": 163,
    "g": 151,
    "b": 187
  },
  "hsl": {
    "h": 260,
    "s": 20.93,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69896,
    "c": 0.05355,
    "h": 300.3
  },
  "luminance": 0.33508
}

Semantic roles & 50–950 ramp

primary
#A397BB
secondary
#D9DDD1
accent
#9F4682
background
#FBFBFC
surface
#F7F6F9
border
#D0D0D2
text
#121113
muted
#818082

Preview Lab

Preview with #A397BB

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

Preview Lab → · Contrast checker → · Palette generator →

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