#A896EF#A896EF

#A896EF is a light, vivid violet. Relative luminance 0.364; OKLCH L 72.4% C 0.128 H 292.2°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#A896EF
RGBrgb(168, 150, 239)
HSLhsl(252, 74%, 76%)
HSVhsv(252, 37%, 94%)
CMYKcmyk(29.7%, 37.2%, 0%, 6.3%)
CIE-LABlab(66.80, 25.84, -42.41)
CIE-LCHlch(66.80, 49.66, 301.35°)
OKLaboklab(72.39% 0.0483 -0.1184)
OKLCHoklch(72.39% 0.128 292.2)
XYZxyz(42.6309, 36.3688, 86.4185)
Luminance0.3637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A896EF #DDEF96
analogous
#96B1EF #A896EF #D596EF
triadic
#A896EF #EFA896 #96EFA8
tetradic
#A896EF #EF96B1 #DDEF96 #96EFD5
square
#A896EF #EF96B1 #DDEF96 #96EFD5
split-complementary
#A896EF #EFD596 #B1EF96
monochromatic
#502CDF #7C61E7 #A896EF #D4CBF7 #E9E4FB

Accessibility & contrast

On white

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

On black

8.27
#A896EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A896EF
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A896EF#FFFFFF#000000##000000
##A896EF1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a896ef;
/* rgb */ color: rgb(168, 150, 239);
/* oklch */ color: oklch(72.4% 0.128 292.2);
Tailwind
colors: {
  custom: {
    50: '#c4b5f4',
    500: '#a896ef',
    950: '#000000',
  },
}
SCSS
$custom: #a896ef;
$custom-light: #c4b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a896ef",
  "rgb": {
    "r": 168,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 252.135,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72393,
    "c": 0.12787,
    "h": 292.2
  },
  "luminance": 0.3637
}

Semantic roles & 50–950 ramp

primary
#A896EF
secondary
#EDF3D8
accent
#D610AE
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #A896EF

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

Preview Lab → · Contrast checker → · Palette generator →

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