#A796FF#A796FF

#A796FF is a light, vivid blue. Relative luminance 0.372; OKLCH L 73.1% C 0.149 H 289.6°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#A796FF
RGBrgb(167, 150, 255)
HSLhsl(250, 100%, 79%)
HSVhsv(250, 41%, 100%)
CMYKcmyk(34.5%, 41.2%, 0%, 0%)
CIE-LABlab(67.46, 29.62, -50.12)
CIE-LCHlch(67.46, 58.22, 300.58°)
OKLaboklab(73.12% 0.0502 -0.1408)
OKLCHoklch(73.12% 0.149 289.6)
XYZxyz(44.8879, 37.2470, 99.4127)
Luminance0.3725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A796FF #EEFF96
analogous
#96BAFF #A796FF #DB96FF
triadic
#A796FF #FFA796 #96FFA7
tetradic
#A796FF #FF96BA #EEFF96 #96FFDB
square
#A796FF #FF96BA #EEFF96 #96FFDB
split-complementary
#A796FF #FFDB96 #BAFF96
monochromatic
#401CFF #7459FF #A796FF #DAD3FF #E5E0FF

Accessibility & contrast

On white

2.49
#A796FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#A796FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A796FF
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A796FF#FFFFFF#000000##000000
##A796FF1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A6FF
Deuteranopia (green-blind)
#75A2FC
Tritanopia (blue-blind)
#91AABE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a796ff;
/* rgb */ color: rgb(167, 150, 255);
/* oklch */ color: oklch(73.1% 0.149 289.6);
Tailwind
colors: {
  custom: {
    50: '#c4b5ff',
    500: '#a796ff',
    950: '#000000',
  },
}
SCSS
$custom: #a796ff;
$custom-light: #c4b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a796ff",
  "rgb": {
    "r": 167,
    "g": 150,
    "b": 255
  },
  "hsl": {
    "h": 249.714,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.73119,
    "c": 0.14949,
    "h": 289.6
  },
  "luminance": 0.37248
}

Semantic roles & 50–950 ramp

primary
#A796FF
secondary
#F2F7D4
accent
#E600C0
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #A796FF

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

Preview Lab → · Contrast checker → · Palette generator →

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