#A896EE#A896EE

#A896EE is a light, vivid violet. Relative luminance 0.363; OKLCH L 72.3% C 0.127 H 292.3°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#A896EE
RGBrgb(168, 150, 238)
HSLhsl(252, 72%, 76%)
HSVhsv(252, 37%, 93%)
CMYKcmyk(29.4%, 37%, 0%, 6.7%)
CIE-LABlab(66.76, 25.59, -41.94)
CIE-LCHlch(66.76, 49.12, 301.39°)
OKLaboklab(72.34% 0.0481 -0.117)
OKLCHoklch(72.34% 0.127 292.3)
XYZxyz(42.4835, 36.3098, 85.6426)
Luminance0.3631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A896EE #DCEE96
analogous
#96B0EE #A896EE #D496EE
triadic
#A896EE #EEA896 #96EEA8
tetradic
#A896EE #EE96B0 #DCEE96 #96EED4
square
#A896EE #EE96B0 #DCEE96 #96EED4
split-complementary
#A896EE #EED496 #B0EE96
monochromatic
#512DDD #7C61E5 #A896EE #D4CBF7 #E9E5FB

Accessibility & contrast

On white

2.54
#A896EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#A896EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A896EE
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A896EE#FFFFFF#000000##000000
##A896EE1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA4F1
Deuteranopia (green-blind)
#7FA1EC
Tritanopia (blue-blind)
#98A6B7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a896ee;
/* rgb */ color: rgb(168, 150, 238);
/* oklch */ color: oklch(72.3% 0.127 292.3);
Tailwind
colors: {
  custom: {
    50: '#c4b5f4',
    500: '#a896ee',
    950: '#000000',
  },
}
SCSS
$custom: #a896ee;
$custom-light: #c4b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a896ee",
  "rgb": {
    "r": 168,
    "g": 150,
    "b": 238
  },
  "hsl": {
    "h": 252.273,
    "s": 72.131,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72344,
    "c": 0.12651,
    "h": 292.3
  },
  "luminance": 0.36311
}

Semantic roles & 50–950 ramp

primary
#A896EE
secondary
#EDF2D9
accent
#D411AC
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #A896EE

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

Preview Lab → · Contrast checker → · Palette generator →

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