#A796CD#A796CD

#A796CD is a light, moderate violet. Relative luminance 0.344; OKLCH L 70.8% C 0.081 H 298.5°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#A796CD
RGBrgb(167, 150, 205)
HSLhsl(259, 35%, 70%)
HSVhsv(259, 27%, 80%)
CMYKcmyk(18.5%, 26.8%, 0%, 19.6%)
CIE-LABlab(65.31, 17.43, -25.94)
CIE-LCHlch(65.31, 31.25, 303.89°)
OKLaboklab(70.76% 0.0386 -0.0712)
OKLCHoklch(70.76% 0.081 298.5)
XYZxyz(37.8598, 34.4358, 62.3980)
Luminance0.3444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A796CD #BCCD96
analogous
#96A1CD #A796CD #C296CD
triadic
#A796CD #CDA796 #96CDA7
tetradic
#A796CD #CD96A1 #BCCD96 #96CDC2
square
#A796CD #CD96A1 #BCCD96 #96CDC2
split-complementary
#A796CD #CDC296 #A1CD96
monochromatic
#654B9E #846DB9 #A796CD #CABFE1 #ECE9F4

Accessibility & contrast

On white

2.66
#A796CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#A796CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A796CD
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A796CD#FFFFFF#000000##000000
##A796CD1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9FCF
Deuteranopia (green-blind)
#8D9ECB
Tritanopia (blue-blind)
#A09EA9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a796cd;
/* rgb */ color: rgb(167, 150, 205);
/* oklch */ color: oklch(70.8% 0.081 298.5);
Tailwind
colors: {
  custom: {
    50: '#c1b5dc',
    500: '#a796cd',
    950: '#000000',
  },
}
SCSS
$custom: #a796cd;
$custom-light: #c1b5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a796cd",
  "rgb": {
    "r": 167,
    "g": 150,
    "b": 205
  },
  "hsl": {
    "h": 258.545,
    "s": 35.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70764,
    "c": 0.08102,
    "h": 298.5
  },
  "luminance": 0.34436
}

Semantic roles & 50–950 ramp

primary
#A796CD
secondary
#E2E7D8
accent
#AE378A
background
#FBFBFD
surface
#F7F6FB
border
#D0D0D4
text
#121115
muted
#818083

Preview Lab

Preview with #A796CD

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

Preview Lab → · Contrast checker → · Palette generator →

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