#A397CA#A397CA

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

Color values

HEX#A397CA
RGBrgb(163, 151, 202)
HSLhsl(254, 32%, 69%)
HSVhsv(254, 25%, 79%)
CMYKcmyk(19.3%, 25.2%, 0%, 20.8%)
CIE-LABlab(65.11, 14.92, -24.60)
CIE-LCHlch(65.11, 28.77, 301.23°)
OKLaboklab(70.49% 0.0318 -0.0675)
OKLCHoklch(70.49% 0.075 295.2)
XYZxyz(36.8292, 34.1837, 60.5235)
Luminance0.3418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A397CA #BECA97
analogous
#97A5CA #A397CA #BD97CA
triadic
#A397CA #CAA397 #97CAA3
tetradic
#A397CA #CA97A5 #BECA97 #97CABD
square
#A397CA #CA97A5 #BECA97 #97CABD
split-complementary
#A397CA #CABD97 #A5CA97
monochromatic
#5F4E99 #7F6EB5 #A397CA #C7C0DF #EBE8F3

Accessibility & contrast

On white

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

On black

7.84
#A397CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A397CA
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A397CA#FFFFFF#000000##000000
##A397CA1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9ECC
Deuteranopia (green-blind)
#8D9DC9
Tritanopia (blue-blind)
#9C9FA9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a397ca;
/* rgb */ color: rgb(163, 151, 202);
/* oklch */ color: oklch(70.5% 0.075 295.2);
Tailwind
colors: {
  custom: {
    50: '#bfb5da',
    500: '#a397ca',
    950: '#000000',
  },
}
SCSS
$custom: #a397ca;
$custom-light: #bfb5da;
$custom-dark: #000000;
JSON
{
  "hex": "#a397ca",
  "rgb": {
    "r": 163,
    "g": 151,
    "b": 202
  },
  "hsl": {
    "h": 254.118,
    "s": 32.484,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70491,
    "c": 0.0746,
    "h": 295.2
  },
  "luminance": 0.34184
}

Semantic roles & 50–950 ramp

primary
#A397CA
secondary
#E2E6D7
accent
#AB3A91
background
#FBFBFD
surface
#F7F6FA
border
#D0D0D3
text
#121114
muted
#818083

Preview Lab

Preview with #A397CA

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

Preview Lab → · Contrast checker → · Palette generator →

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