#A796FA#A796FA

#A796FA is a light, vivid violet. Relative luminance 0.369; OKLCH L 72.9% C 0.143 H 290.2°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#A796FA
RGBrgb(167, 150, 250)
HSLhsl(250, 91%, 78%)
HSVhsv(250, 40%, 98%)
CMYKcmyk(33.2%, 40%, 0%, 2%)
CIE-LABlab(67.22, 28.34, -47.77)
CIE-LCHlch(67.22, 55.55, 300.68°)
OKLaboklab(72.86% 0.0493 -0.134)
OKLCHoklch(72.86% 0.143 290.2)
XYZxyz(44.0935, 36.9293, 95.2289)
Luminance0.3693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A796FA #E9FA96
analogous
#96B7FA #A796FA #D996FA
triadic
#A796FA #FAA796 #96FAA7
tetradic
#A796FA #FA96B7 #E9FA96 #96FAD9
square
#A796FA #FA96B7 #E9FA96 #96FAD9
split-complementary
#A796FA #FAD996 #B7FA96
monochromatic
#4521F4 #765CF7 #A796FA #D8D0FD #E7E2FE

Accessibility & contrast

On white

2.50
#A796FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#A796FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A796FA
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A796FA#FFFFFF#000000##000000
##A796FA1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FE
Deuteranopia (green-blind)
#78A1F8
Tritanopia (blue-blind)
#93A9BC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a796fa;
/* rgb */ color: rgb(167, 150, 250);
/* oklch */ color: oklch(72.9% 0.143 290.2);
Tailwind
colors: {
  custom: {
    50: '#c4b5fc',
    500: '#a796fa',
    950: '#000000',
  },
}
SCSS
$custom: #a796fa;
$custom-light: #c4b5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a796fa",
  "rgb": {
    "r": 167,
    "g": 150,
    "b": 250
  },
  "hsl": {
    "h": 250.2,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.72861,
    "c": 0.14276,
    "h": 290.2
  },
  "luminance": 0.3693
}

Semantic roles & 50–950 ramp

primary
#A796FA
secondary
#F0F6D5
accent
#E600BE
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A796FA

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

Preview Lab → · Contrast checker → · Palette generator →

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