#A896FB#A896FB

#A896FB is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.0% C 0.144 H 290.6°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#A896FB
RGBrgb(168, 150, 251)
HSLhsl(251, 93%, 79%)
HSVhsv(251, 40%, 98%)
CMYKcmyk(33.1%, 40.2%, 0%, 1.6%)
CIE-LABlab(67.35, 28.86, -48.11)
CIE-LCHlch(67.35, 56.10, 300.96°)
OKLaboklab(72.99% 0.0506 -0.1349)
OKLCHoklch(72.99% 0.144 290.6)
XYZxyz(44.4628, 37.1015, 96.0668)
Luminance0.3710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A896FB #E9FB96
analogous
#96B6FB #A896FB #DA96FB
triadic
#A896FB #FBA896 #96FBA8
tetradic
#A896FB #FB96B6 #E9FB96 #96FBDA
square
#A896FB #FB96B6 #E9FB96 #96FBDA
split-complementary
#A896FB #FBDA96 #B6FB96
monochromatic
#4620F7 #775BF9 #A896FB #D9D1FD #E7E2FE

Accessibility & contrast

On white

2.49
#A896FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#A896FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A896FB
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A896FB#FFFFFF#000000##000000
##A896FB1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FF
Deuteranopia (green-blind)
#78A2F9
Tritanopia (blue-blind)
#94A9BD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a896fb;
/* rgb */ color: rgb(168, 150, 251);
/* oklch */ color: oklch(73.0% 0.144 290.6);
Tailwind
colors: {
  custom: {
    50: '#c4b5fd',
    500: '#a896fb',
    950: '#000000',
  },
}
SCSS
$custom: #a896fb;
$custom-light: #c4b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a896fb",
  "rgb": {
    "r": 168,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 250.693,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.72994,
    "c": 0.14412,
    "h": 290.6
  },
  "luminance": 0.37103
}

Semantic roles & 50–950 ramp

primary
#A896FB
secondary
#F0F6D5
accent
#E600BD
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A896FB

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

Preview Lab → · Contrast checker → · Palette generator →

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