#A896FC#A896FC

#A896FC is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.0% C 0.145 H 290.4°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#A896FC
RGBrgb(168, 150, 252)
HSLhsl(251, 94%, 79%)
HSVhsv(251, 40%, 99%)
CMYKcmyk(33.3%, 40.5%, 0%, 1.2%)
CIE-LABlab(67.40, 29.12, -48.58)
CIE-LCHlch(67.40, 56.64, 300.93°)
OKLaboklab(73.05% 0.0508 -0.1363)
OKLCHoklch(73.05% 0.145 290.4)
XYZxyz(44.6209, 37.1648, 96.8992)
Luminance0.3717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A896FC #EAFC96
analogous
#96B7FC #A896FC #DB96FC
triadic
#A896FC #FCA896 #96FCA8
tetradic
#A896FC #FC96B7 #EAFC96 #96FCDB
square
#A896FC #FC96B7 #EAFC96 #96FCDB
split-complementary
#A896FC #FCDB96 #B7FC96
monochromatic
#451FF9 #775BFA #A896FC #D9D2FE #E6E1FE

Accessibility & contrast

On white

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

On black

8.43
#A896FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A896FC
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A896FC#FFFFFF#000000##000000
##A896FC1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a896fc;
/* rgb */ color: rgb(168, 150, 252);
/* oklch */ color: oklch(73.0% 0.145 290.4);
Tailwind
colors: {
  custom: {
    50: '#c4b5fe',
    500: '#a896fc',
    950: '#000000',
  },
}
SCSS
$custom: #a896fc;
$custom-light: #c4b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a896fc",
  "rgb": {
    "r": 168,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 250.588,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.73046,
    "c": 0.14545,
    "h": 290.4
  },
  "luminance": 0.37166
}

Semantic roles & 50–950 ramp

primary
#A896FC
secondary
#F0F6D5
accent
#E600BD
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #A896FC

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

Preview Lab → · Contrast checker → · Palette generator →

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