#A397CB#A397CB

#A397CB is a light, moderate violet. Relative luminance 0.342; OKLCH L 70.5% C 0.076 H 295.0°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#A397CB
RGBrgb(163, 151, 203)
HSLhsl(254, 33%, 69%)
HSVhsv(254, 26%, 80%)
CMYKcmyk(19.7%, 25.6%, 0%, 20.4%)
CIE-LABlab(65.15, 15.15, -25.10)
CIE-LCHlch(65.15, 29.32, 301.10°)
OKLaboklab(70.53% 0.0321 -0.0689)
OKLCHoklch(70.53% 0.076 295)
XYZxyz(36.9480, 34.2312, 61.1491)
Luminance0.3423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A397CB #BFCB97
analogous
#97A5CB #A397CB #BD97CB
triadic
#A397CB #CBA397 #97CBA3
tetradic
#A397CB #CB97A5 #BFCB97 #97CBBD
square
#A397CB #CB97A5 #BFCB97 #97CBBD
split-complementary
#A397CB #CBBD97 #A5CB97
monochromatic
#5F4D9A #7F6EB7 #A397CB #C7C0DF #EBE9F4

Accessibility & contrast

On white

2.68
#A397CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#A397CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A397CB
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A397CB#FFFFFF#000000##000000
##A397CB1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9FCD
Deuteranopia (green-blind)
#8D9DCA
Tritanopia (blue-blind)
#9B9FA9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a397cb;
/* rgb */ color: rgb(163, 151, 203);
/* oklch */ color: oklch(70.5% 0.076 295.0);
Tailwind
colors: {
  custom: {
    50: '#bfb5db',
    500: '#a397cb',
    950: '#000000',
  },
}
SCSS
$custom: #a397cb;
$custom-light: #bfb5db;
$custom-dark: #000000;
JSON
{
  "hex": "#a397cb",
  "rgb": {
    "r": 163,
    "g": 151,
    "b": 203
  },
  "hsl": {
    "h": 253.846,
    "s": 33.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70533,
    "c": 0.076,
    "h": 295
  },
  "luminance": 0.34232
}

Semantic roles & 50–950 ramp

primary
#A397CB
secondary
#E3E6D7
accent
#AC3992
background
#FBFBFD
surface
#F7F6FB
border
#D0D0D4
text
#121115
muted
#818083

Preview Lab

Preview with #A397CB

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

Preview Lab → · Contrast checker → · Palette generator →

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