#A397CF#A397CF

#A397CF is a light, moderate violet. Relative luminance 0.344; OKLCH L 70.7% C 0.082 H 294.0°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#A397CF
RGBrgb(163, 151, 207)
HSLhsl(253, 37%, 70%)
HSVhsv(253, 27%, 81%)
CMYKcmyk(21.3%, 27.1%, 0%, 18.8%)
CIE-LABlab(65.30, 16.07, -27.10)
CIE-LCHlch(65.30, 31.50, 300.67°)
OKLaboklab(70.7% 0.0333 -0.0746)
OKLCHoklch(70.7% 0.082 294)
XYZxyz(37.4308, 34.4244, 63.6919)
Luminance0.3443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A397CF #C3CF97
analogous
#97A7CF #A397CF #BF97CF
triadic
#A397CF #CFA397 #97CFA3
tetradic
#A397CF #CF97A7 #C3CF97 #97CFBF
square
#A397CF #CF97A7 #C3CF97 #97CFBF
split-complementary
#A397CF #CFBF97 #A7CF97
monochromatic
#5D4AA1 #7E6DBC #A397CF #C8C1E2 #ECEAF5

Accessibility & contrast

On white

2.66
#A397CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#A397CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A397CF
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A397CF#FFFFFF#000000##000000
##A397CF1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9FD1
Deuteranopia (green-blind)
#8B9ECD
Tritanopia (blue-blind)
#9AA0AB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a397cf;
/* rgb */ color: rgb(163, 151, 207);
/* oklch */ color: oklch(70.7% 0.082 294.0);
Tailwind
colors: {
  custom: {
    50: '#bfb5dd',
    500: '#a397cf',
    950: '#000000',
  },
}
SCSS
$custom: #a397cf;
$custom-light: #bfb5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a397cf",
  "rgb": {
    "r": 163,
    "g": 151,
    "b": 207
  },
  "hsl": {
    "h": 252.857,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.707,
    "c": 0.08164,
    "h": 294
  },
  "luminance": 0.34425
}

Semantic roles & 50–950 ramp

primary
#A397CF
secondary
#E5E9D9
accent
#B03696
background
#FBFBFD
surface
#F7F6FB
border
#D0D0D4
text
#121115
muted
#818083

Preview Lab

Preview with #A397CF

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

Preview Lab → · Contrast checker → · Palette generator →

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