#A896F4#A896F4

#A896F4 is a light, vivid violet. Relative luminance 0.367; OKLCH L 72.6% C 0.135 H 291.5°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#A896F4
RGBrgb(168, 150, 244)
HSLhsl(251, 81%, 77%)
HSVhsv(251, 39%, 96%)
CMYKcmyk(31.1%, 38.5%, 0%, 4.3%)
CIE-LABlab(67.03, 27.09, -44.80)
CIE-LCHlch(67.03, 52.35, 301.16°)
OKLaboklab(72.64% 0.0493 -0.1253)
OKLCHoklch(72.64% 0.135 291.5)
XYZxyz(43.3798, 36.6683, 90.3626)
Luminance0.3667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A896F4 #E2F496
analogous
#96B3F4 #A896F4 #D796F4
triadic
#A896F4 #F4A896 #96F4A8
tetradic
#A896F4 #F496B3 #E2F496 #96F4D7
square
#A896F4 #F496B3 #E2F496 #96F4D7
split-complementary
#A896F4 #F4D796 #B3F496
monochromatic
#4C27E8 #7A5FEE #A896F4 #D6CDFA #E8E3FC

Accessibility & contrast

On white

2.52
#A896F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#A896F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A896F4
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A896F4#FFFFFF#000000##000000
##A896F41.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA5F8
Deuteranopia (green-blind)
#7CA1F2
Tritanopia (blue-blind)
#96A7B9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a896f4;
/* rgb */ color: rgb(168, 150, 244);
/* oklch */ color: oklch(72.6% 0.135 291.5);
Tailwind
colors: {
  custom: {
    50: '#c4b5f8',
    500: '#a896f4',
    950: '#000000',
  },
}
SCSS
$custom: #a896f4;
$custom-light: #c4b5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a896f4",
  "rgb": {
    "r": 168,
    "g": 150,
    "b": 244
  },
  "hsl": {
    "h": 251.489,
    "s": 81.034,
    "l": 77.255
  },
  "oklch": {
    "l": 0.7264,
    "c": 0.13466,
    "h": 291.5
  },
  "luminance": 0.36669
}

Semantic roles & 50–950 ramp

primary
#A896F4
secondary
#EEF4D7
accent
#DD08B5
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A896F4

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

Preview Lab → · Contrast checker → · Palette generator →

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