#A896F3#A896F3

#A896F3 is a light, vivid violet. Relative luminance 0.366; OKLCH L 72.6% C 0.133 H 291.6°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#A896F3
RGBrgb(168, 150, 243)
HSLhsl(252, 79%, 77%)
HSVhsv(252, 38%, 95%)
CMYKcmyk(30.9%, 38.3%, 0%, 4.7%)
CIE-LABlab(66.98, 26.84, -44.32)
CIE-LCHlch(66.98, 51.81, 301.19°)
OKLaboklab(72.59% 0.0491 -0.1239)
OKLCHoklch(72.59% 0.133 291.6)
XYZxyz(43.2283, 36.6077, 89.5651)
Luminance0.3661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A896F3 #E1F396
analogous
#96B3F3 #A896F3 #D796F3
triadic
#A896F3 #F3A896 #96F3A8
tetradic
#A896F3 #F396B3 #E1F396 #96F3D7
square
#A896F3 #F396B3 #E1F396 #96F3D7
split-complementary
#A896F3 #F3D796 #B3F396
monochromatic
#4D28E6 #7A5FED #A896F3 #D6CDF9 #E8E4FC

Accessibility & contrast

On white

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

On black

8.32
#A896F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A896F3
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A896F3#FFFFFF#000000##000000
##A896F31.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA4F7
Deuteranopia (green-blind)
#7CA1F1
Tritanopia (blue-blind)
#97A7B9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a896f3;
/* rgb */ color: rgb(168, 150, 243);
/* oklch */ color: oklch(72.6% 0.133 291.6);
Tailwind
colors: {
  custom: {
    50: '#c4b5f7',
    500: '#a896f3',
    950: '#000000',
  },
}
SCSS
$custom: #a896f3;
$custom-light: #c4b5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a896f3",
  "rgb": {
    "r": 168,
    "g": 150,
    "b": 243
  },
  "hsl": {
    "h": 251.613,
    "s": 79.487,
    "l": 77.059
  },
  "oklch": {
    "l": 0.7259,
    "c": 0.13331,
    "h": 291.6
  },
  "luminance": 0.36609
}

Semantic roles & 50–950 ramp

primary
#A896F3
secondary
#EEF4D7
accent
#DC0AB3
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A896F3

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

Preview Lab → · Contrast checker → · Palette generator →

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