#A397DF#A397DF

#A397DF is a light, moderate violet. Relative luminance 0.352; OKLCH L 71.4% C 0.104 H 291.2°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#A397DF
RGBrgb(163, 151, 223)
HSLhsl(250, 53%, 73%)
HSVhsv(250, 32%, 87%)
CMYKcmyk(26.9%, 32.3%, 0%, 12.5%)
CIE-LABlab(65.94, 19.89, -34.98)
CIE-LCHlch(65.94, 40.24, 299.63°)
OKLaboklab(71.41% 0.0376 -0.0971)
OKLCHoklch(71.41% 0.104 291.2)
XYZxyz(39.4869, 35.2468, 74.5207)
Luminance0.3525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A397DF #D3DF97
analogous
#97AFDF #A397DF #C797DF
triadic
#A397DF #DFA397 #97DFA3
tetradic
#A397DF #DF97AF #D3DF97 #97DFC7
square
#A397DF #DF97AF #D3DF97 #97DFC7
split-complementary
#A397DF #DFC797 #AFDF97
monochromatic
#513BC0 #7A68D1 #A397DF #CCC6ED #EAE8F8

Accessibility & contrast

On white

2.61
#A397DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#A397DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A397DF
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A397DF#FFFFFF#000000##000000
##A397DF1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A1E2
Deuteranopia (green-blind)
#859FDD
Tritanopia (blue-blind)
#96A3B1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a397df;
/* rgb */ color: rgb(163, 151, 223);
/* oklch */ color: oklch(71.4% 0.104 291.2);
Tailwind
colors: {
  custom: {
    50: '#bfb5e9',
    500: '#a397df',
    950: '#000000',
  },
}
SCSS
$custom: #a397df;
$custom-light: #bfb5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a397df",
  "rgb": {
    "r": 163,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 250,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71406,
    "c": 0.10408,
    "h": 291.2
  },
  "luminance": 0.35247
}

Semantic roles & 50–950 ramp

primary
#A397DF
secondary
#ECEFDC
accent
#C025A6
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #A397DF

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

Preview Lab → · Contrast checker → · Palette generator →

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