#A796EE#A796EE

#A796EE is a light, vivid violet. Relative luminance 0.362; OKLCH L 72.3% C 0.126 H 291.8°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#A796EE
RGBrgb(167, 150, 238)
HSLhsl(252, 72%, 76%)
HSVhsv(252, 37%, 93%)
CMYKcmyk(29.8%, 37%, 0%, 6.7%)
CIE-LABlab(66.67, 25.31, -42.07)
CIE-LCHlch(66.67, 49.10, 301.03°)
OKLaboklab(72.26% 0.0469 -0.1174)
OKLCHoklch(72.26% 0.126 291.8)
XYZxyz(42.2714, 36.2005, 85.6326)
Luminance0.3620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A796EE #DDEE96
analogous
#96B1EE #A796EE #D396EE
triadic
#A796EE #EEA796 #96EEA7
tetradic
#A796EE #EE96B1 #DDEE96 #96EED3
square
#A796EE #EE96B1 #DDEE96 #96EED3
split-complementary
#A796EE #EED396 #B1EE96
monochromatic
#4F2DDD #7B61E5 #A796EE #D3CBF7 #E9E5FB

Accessibility & contrast

On white

2.55
#A796EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#A796EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A796EE
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A796EE#FFFFFF#000000##000000
##A796EE1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA4F1
Deuteranopia (green-blind)
#7EA0EC
Tritanopia (blue-blind)
#97A6B7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a796ee;
/* rgb */ color: rgb(167, 150, 238);
/* oklch */ color: oklch(72.3% 0.126 291.8);
Tailwind
colors: {
  custom: {
    50: '#c3b5f4',
    500: '#a796ee',
    950: '#000000',
  },
}
SCSS
$custom: #a796ee;
$custom-light: #c3b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a796ee",
  "rgb": {
    "r": 167,
    "g": 150,
    "b": 238
  },
  "hsl": {
    "h": 251.591,
    "s": 72.131,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72261,
    "c": 0.12647,
    "h": 291.8
  },
  "luminance": 0.36201
}

Semantic roles & 50–950 ramp

primary
#A796EE
secondary
#EDF2D9
accent
#D411AF
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #A796EE

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

Preview Lab → · Contrast checker → · Palette generator →

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