#A896EB#A896EB

#A896EB is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.2% C 0.122 H 292.8°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#A896EB
RGBrgb(168, 150, 235)
HSLhsl(253, 68%, 75%)
HSVhsv(253, 36%, 92%)
CMYKcmyk(28.5%, 36.2%, 0%, 7.8%)
CIE-LABlab(66.62, 24.85, -40.50)
CIE-LCHlch(66.62, 47.51, 301.53°)
OKLaboklab(72.2% 0.0474 -0.1129)
OKLCHoklch(72.2% 0.122 292.8)
XYZxyz(42.0465, 36.1350, 83.3407)
Luminance0.3614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A896EB #D9EB96
analogous
#96AEEB #A896EB #D296EB
triadic
#A896EB #EBA896 #96EBA8
tetradic
#A896EB #EB96AE #D9EB96 #96EBD2
square
#A896EB #EB96AE #D9EB96 #96EBD2
split-complementary
#A896EB #EBD296 #AEEB96
monochromatic
#532FD7 #7D63E1 #A896EB #D3C9F5 #EAE5FA

Accessibility & contrast

On white

2.55
#A896EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#A896EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A896EB
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A896EB#FFFFFF#000000##000000
##A896EB1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA3EE
Deuteranopia (green-blind)
#80A1E9
Tritanopia (blue-blind)
#99A5B6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a896eb;
/* rgb */ color: rgb(168, 150, 235);
/* oklch */ color: oklch(72.2% 0.122 292.8);
Tailwind
colors: {
  custom: {
    50: '#c3b5f2',
    500: '#a896eb',
    950: '#000000',
  },
}
SCSS
$custom: #a896eb;
$custom-light: #c3b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a896eb",
  "rgb": {
    "r": 168,
    "g": 150,
    "b": 235
  },
  "hsl": {
    "h": 252.706,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72199,
    "c": 0.12242,
    "h": 292.8
  },
  "luminance": 0.36136
}

Semantic roles & 50–950 ramp

primary
#A896EB
secondary
#ECF2D9
accent
#D016A8
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #A896EB

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

Preview Lab → · Contrast checker → · Palette generator →

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