#A397CC#A397CC

#A397CC is a light, moderate violet. Relative luminance 0.343; OKLCH L 70.6% C 0.077 H 294.7°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#A397CC
RGBrgb(163, 151, 204)
HSLhsl(254, 34%, 70%)
HSVhsv(254, 26%, 80%)
CMYKcmyk(20.1%, 26%, 0%, 20%)
CIE-LABlab(65.18, 15.38, -25.60)
CIE-LCHlch(65.18, 29.86, 300.99°)
OKLaboklab(70.57% 0.0324 -0.0703)
OKLCHoklch(70.57% 0.077 294.7)
XYZxyz(37.0675, 34.2791, 61.7787)
Luminance0.3428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A397CC #C0CC97
analogous
#97A6CC #A397CC #BE97CC
triadic
#A397CC #CCA397 #97CCA3
tetradic
#A397CC #CC97A6 #C0CC97 #97CCBE
square
#A397CC #CC97A6 #C0CC97 #97CCBE
split-complementary
#A397CC #CCBE97 #A6CC97
monochromatic
#5F4D9C #7F6EB8 #A397CC #C7C0E0 #ECE9F4

Accessibility & contrast

On white

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

On black

7.86
#A397CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A397CC
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A397CC#FFFFFF#000000##000000
##A397CC1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a397cc;
/* rgb */ color: rgb(163, 151, 204);
/* oklch */ color: oklch(70.6% 0.077 294.7);
Tailwind
colors: {
  custom: {
    50: '#bfb5db',
    500: '#a397cc',
    950: '#000000',
  },
}
SCSS
$custom: #a397cc;
$custom-light: #bfb5db;
$custom-dark: #000000;
JSON
{
  "hex": "#a397cc",
  "rgb": {
    "r": 163,
    "g": 151,
    "b": 204
  },
  "hsl": {
    "h": 253.585,
    "s": 34.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70574,
    "c": 0.07742,
    "h": 294.7
  },
  "luminance": 0.34279
}

Semantic roles & 50–950 ramp

primary
#A397CC
secondary
#E4E7D8
accent
#AD3893
background
#FBFBFD
surface
#F7F6FB
border
#D0D0D4
text
#121115
muted
#818083

Preview Lab

Preview with #A397CC

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

Preview Lab → · Contrast checker → · Palette generator →

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