#A896FA#A896FA

#A896FA is a light, vivid violet. Relative luminance 0.370; OKLCH L 72.9% C 0.143 H 290.7°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#A896FA
RGBrgb(168, 150, 250)
HSLhsl(251, 91%, 78%)
HSVhsv(251, 40%, 98%)
CMYKcmyk(32.8%, 40%, 0%, 2%)
CIE-LABlab(67.31, 28.61, -47.64)
CIE-LCHlch(67.31, 55.57, 300.98°)
OKLaboklab(72.94% 0.0504 -0.1336)
OKLCHoklch(72.94% 0.143 290.7)
XYZxyz(44.3056, 37.0387, 95.2388)
Luminance0.3704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A896FA #E8FA96
analogous
#96B6FA #A896FA #DA96FA
triadic
#A896FA #FAA896 #96FAA8
tetradic
#A896FA #FA96B6 #E8FA96 #96FADA
square
#A896FA #FA96B6 #E8FA96 #96FADA
split-complementary
#A896FA #FADA96 #B6FA96
monochromatic
#4721F4 #785CF7 #A896FA #D8D0FD #E7E2FE

Accessibility & contrast

On white

2.50
#A896FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#A896FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A896FA
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A896FA#FFFFFF#000000##000000
##A896FA1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FE
Deuteranopia (green-blind)
#78A2F8
Tritanopia (blue-blind)
#94A9BC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a896fa;
/* rgb */ color: rgb(168, 150, 250);
/* oklch */ color: oklch(72.9% 0.143 290.7);
Tailwind
colors: {
  custom: {
    50: '#c4b5fc',
    500: '#a896fa',
    950: '#000000',
  },
}
SCSS
$custom: #a896fa;
$custom-light: #c4b5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a896fa",
  "rgb": {
    "r": 168,
    "g": 150,
    "b": 250
  },
  "hsl": {
    "h": 250.8,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.72943,
    "c": 0.14276,
    "h": 290.7
  },
  "luminance": 0.3704
}

Semantic roles & 50–950 ramp

primary
#A896FA
secondary
#F0F6D5
accent
#E600BC
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A896FA

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

Preview Lab → · Contrast checker → · Palette generator →

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