#A896F2#A896F2

#A896F2 is a light, vivid violet. Relative luminance 0.365; OKLCH L 72.5% C 0.132 H 291.8°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#A896F2
RGBrgb(168, 150, 242)
HSLhsl(252, 78%, 77%)
HSVhsv(252, 38%, 95%)
CMYKcmyk(30.6%, 38%, 0%, 5.1%)
CIE-LABlab(66.94, 26.58, -43.85)
CIE-LCHlch(66.94, 51.28, 301.23°)
OKLaboklab(72.54% 0.0489 -0.1226)
OKLCHoklch(72.54% 0.132 291.8)
XYZxyz(43.0777, 36.5475, 88.7720)
Luminance0.3655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A896F2 #E0F296
analogous
#96B2F2 #A896F2 #D696F2
triadic
#A896F2 #F2A896 #96F2A8
tetradic
#A896F2 #F296B2 #E0F296 #96F2D6
square
#A896F2 #F296B2 #E0F296 #96F2D6
split-complementary
#A896F2 #F2D696 #B2F296
monochromatic
#4E29E5 #7B60EB #A896F2 #D5CCF9 #E8E4FC

Accessibility & contrast

On white

2.53
#A896F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#A896F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A896F2
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A896F2#FFFFFF#000000##000000
##A896F21.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a896f2;
/* rgb */ color: rgb(168, 150, 242);
/* oklch */ color: oklch(72.5% 0.132 291.8);
Tailwind
colors: {
  custom: {
    50: '#c4b5f6',
    500: '#a896f2',
    950: '#000000',
  },
}
SCSS
$custom: #a896f2;
$custom-light: #c4b5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a896f2",
  "rgb": {
    "r": 168,
    "g": 150,
    "b": 242
  },
  "hsl": {
    "h": 251.739,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.72541,
    "c": 0.13196,
    "h": 291.8
  },
  "luminance": 0.36548
}

Semantic roles & 50–950 ramp

primary
#A896F2
secondary
#EEF3D8
accent
#DA0BB2
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #A896F2

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

Preview Lab → · Contrast checker → · Palette generator →

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