#A796CA#A796CA

#A796CA is a light, moderate violet. Relative luminance 0.343; OKLCH L 70.6% C 0.077 H 299.4°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#A796CA
RGBrgb(167, 150, 202)
HSLhsl(260, 33%, 69%)
HSVhsv(260, 26%, 79%)
CMYKcmyk(17.3%, 25.7%, 0%, 20.8%)
CIE-LABlab(65.19, 16.75, -24.44)
CIE-LCHlch(65.19, 29.63, 304.42°)
OKLaboklab(70.64% 0.0378 -0.067)
OKLCHoklch(70.64% 0.077 299.4)
XYZxyz(37.5011, 34.2923, 60.5091)
Luminance0.3429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A796CA #B9CA96
analogous
#969FCA #A796CA #C196CA
triadic
#A796CA #CAA796 #96CAA7
tetradic
#A796CA #CA969F #B9CA96 #96CAC1
square
#A796CA #CA969F #B9CA96 #96CAC1
split-complementary
#A796CA #CAC196 #9FCA96
monochromatic
#664D99 #856DB5 #A796CA #C9BFDF #EBE7F3

Accessibility & contrast

On white

2.67
#A796CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#A796CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A796CA
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A796CA#FFFFFF#000000##000000
##A796CA1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9ECC
Deuteranopia (green-blind)
#8E9EC8
Tritanopia (blue-blind)
#A19EA8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a796ca;
/* rgb */ color: rgb(167, 150, 202);
/* oklch */ color: oklch(70.6% 0.077 299.4);
Tailwind
colors: {
  custom: {
    50: '#c1b5da',
    500: '#a796ca',
    950: '#000000',
  },
}
SCSS
$custom: #a796ca;
$custom-light: #c1b5da;
$custom-dark: #000000;
JSON
{
  "hex": "#a796ca",
  "rgb": {
    "r": 167,
    "g": 150,
    "b": 202
  },
  "hsl": {
    "h": 259.615,
    "s": 32.911,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70639,
    "c": 0.07688,
    "h": 299.4
  },
  "luminance": 0.34292
}

Semantic roles & 50–950 ramp

primary
#A796CA
secondary
#E1E6D6
accent
#AC3A86
background
#FBFBFD
surface
#F7F6FA
border
#D0D0D3
text
#121114
muted
#818083

Preview Lab

Preview with #A796CA

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

Preview Lab → · Contrast checker → · Palette generator →

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