#A796EA#A796EA

#A796EA is a light, vivid violet. Relative luminance 0.360; OKLCH L 72.1% C 0.121 H 292.4°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#A796EA
RGBrgb(167, 150, 234)
HSLhsl(252, 67%, 75%)
HSVhsv(252, 36%, 92%)
CMYKcmyk(28.6%, 35.9%, 0%, 8.2%)
CIE-LABlab(66.50, 24.32, -40.15)
CIE-LCHlch(66.50, 46.94, 301.20°)
OKLaboklab(72.07% 0.0461 -0.1119)
OKLCHoklch(72.07% 0.121 292.4)
XYZxyz(41.6903, 35.9680, 82.5720)
Luminance0.3597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A796EA #D9EA96
analogous
#96AFEA #A796EA #D196EA
triadic
#A796EA #EAA796 #96EAA7
tetradic
#A796EA #EA96AF #D9EA96 #96EAD1
square
#A796EA #EA96AF #D9EA96 #96EAD1
split-complementary
#A796EA #EAD196 #AFEA96
monochromatic
#5230D6 #7C63E0 #A796EA #D2C9F4 #EAE5FA

Accessibility & contrast

On white

2.56
#A796EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#A796EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A796EA
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A796EA#FFFFFF#000000##000000
##A796EA1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA3ED
Deuteranopia (green-blind)
#80A0E8
Tritanopia (blue-blind)
#98A5B5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a796ea;
/* rgb */ color: rgb(167, 150, 234);
/* oklch */ color: oklch(72.1% 0.121 292.4);
Tailwind
colors: {
  custom: {
    50: '#c3b5f1',
    500: '#a796ea',
    950: '#000000',
  },
}
SCSS
$custom: #a796ea;
$custom-light: #c3b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a796ea",
  "rgb": {
    "r": 167,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 252.143,
    "s": 66.667,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72067,
    "c": 0.12101,
    "h": 292.4
  },
  "luminance": 0.35969
}

Semantic roles & 50–950 ramp

primary
#A796EA
secondary
#EDF1DA
accent
#CF17A9
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #A796EA

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

Preview Lab → · Contrast checker → · Palette generator →

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