#A896F7#A896F7

#A896F7 is a light, vivid violet. Relative luminance 0.369; OKLCH L 72.8% C 0.139 H 291.1°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#A896F7
RGBrgb(168, 150, 247)
HSLhsl(251, 86%, 78%)
HSVhsv(251, 39%, 97%)
CMYKcmyk(32%, 39.3%, 0%, 3.1%)
CIE-LABlab(67.17, 27.84, -46.22)
CIE-LCHlch(67.17, 53.96, 301.06°)
OKLaboklab(72.79% 0.0499 -0.1294)
OKLCHoklch(72.79% 0.139 291.1)
XYZxyz(43.8390, 36.8520, 92.7811)
Luminance0.3685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A896F7 #E5F796
analogous
#96B4F7 #A896F7 #D896F7
triadic
#A896F7 #F7A896 #96F7A8
tetradic
#A896F7 #F796B4 #E5F796 #96F7D8
square
#A896F7 #F796B4 #E5F796 #96F7D8
split-complementary
#A896F7 #F7D896 #B4F796
monochromatic
#4A24EE #795DF3 #A896F7 #D7CFFB #E7E3FD

Accessibility & contrast

On white

2.51
#A896F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#A896F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A896F7
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A896F7#FFFFFF#000000##000000
##A896F71.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A5FB
Deuteranopia (green-blind)
#7AA2F5
Tritanopia (blue-blind)
#95A8BB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a896f7;
/* rgb */ color: rgb(168, 150, 247);
/* oklch */ color: oklch(72.8% 0.139 291.1);
Tailwind
colors: {
  custom: {
    50: '#c4b5fa',
    500: '#a896f7',
    950: '#000000',
  },
}
SCSS
$custom: #a896f7;
$custom-light: #c4b5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a896f7",
  "rgb": {
    "r": 168,
    "g": 150,
    "b": 247
  },
  "hsl": {
    "h": 251.134,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.72791,
    "c": 0.13872,
    "h": 291.1
  },
  "luminance": 0.36853
}

Semantic roles & 50–950 ramp

primary
#A896F7
secondary
#EFF5D6
accent
#E203B9
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A896F7

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

Preview Lab → · Contrast checker → · Palette generator →

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