#A396E2#A396E2

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

Color values

HEX#A396E2
RGBrgb(163, 150, 226)
HSLhsl(250, 57%, 74%)
HSVhsv(250, 34%, 89%)
CMYKcmyk(27.9%, 33.6%, 0%, 11.4%)
CIE-LABlab(65.82, 21.20, -36.82)
CIE-LCHlch(65.82, 42.49, 299.93°)
OKLaboklab(71.35% 0.0397 -0.1024)
OKLCHoklch(71.35% 0.11 291.2)
XYZxyz(39.7347, 35.0895, 76.6163)
Luminance0.3509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A396E2 #D5E296
analogous
#96AFE2 #A396E2 #C996E2
triadic
#A396E2 #E2A396 #96E2A3
tetradic
#A396E2 #E296AF #D5E296 #96E2C9
square
#A396E2 #E296AF #D5E296 #96E2C9
split-complementary
#A396E2 #E2C996 #AFE296
monochromatic
#4F37C7 #7966D5 #A396E2 #CDC6EF #EAE7F8

Accessibility & contrast

On white

2.62
#A396E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#A396E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A396E2
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A396E2#FFFFFF#000000##000000
##A396E21.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A1E5
Deuteranopia (green-blind)
#829EE0
Tritanopia (blue-blind)
#95A3B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a396e2;
/* rgb */ color: rgb(163, 150, 226);
/* oklch */ color: oklch(71.4% 0.110 291.2);
Tailwind
colors: {
  custom: {
    50: '#c0b5eb',
    500: '#a396e2',
    950: '#000000',
  },
}
SCSS
$custom: #a396e2;
$custom-light: #c0b5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a396e2",
  "rgb": {
    "r": 163,
    "g": 150,
    "b": 226
  },
  "hsl": {
    "h": 250.263,
    "s": 56.716,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71354,
    "c": 0.1098,
    "h": 291.2
  },
  "luminance": 0.3509
}

Semantic roles & 50–950 ramp

primary
#A396E2
secondary
#ECF0DB
accent
#C421A8
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #A396E2

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

Preview Lab → · Contrast checker → · Palette generator →

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