#9796EA#9796EA

#9796EA is a light, vivid blue. Relative luminance 0.343; OKLCH L 70.8% C 0.122 H 283.4°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#9796EA
RGBrgb(151, 150, 234)
HSLhsl(241, 67%, 75%)
HSVhsv(241, 36%, 92%)
CMYKcmyk(35.5%, 35.9%, 0%, 8.2%)
CIE-LABlab(65.22, 19.90, -42.23)
CIE-LCHlch(65.22, 46.68, 295.23°)
OKLaboklab(70.78% 0.0281 -0.1182)
OKLCHoklch(70.78% 0.122 283.4)
XYZxyz(38.5160, 34.3313, 82.4232)
Luminance0.3433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9796EA #E9EA96
analogous
#96BFEA #9796EA #C196EA
triadic
#9796EA #EA9796 #96EA97
tetradic
#9796EA #EA96BF #E9EA96 #96EAC1
square
#9796EA #EA96BF #E9EA96 #96EAC1
split-complementary
#9796EA #EAC196 #BFEA96
monochromatic
#3230D6 #6463E0 #9796EA #CAC9F4 #E6E5FA

Accessibility & contrast

On white

2.67
#9796EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#9796EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9796EA
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9796EA#FFFFFF#000000##000000
##9796EA1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA1ED
Deuteranopia (green-blind)
#789CE8
Tritanopia (blue-blind)
#81A6B5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9796ea;
/* rgb */ color: rgb(151, 150, 234);
/* oklch */ color: oklch(70.8% 0.122 283.4);
Tailwind
colors: {
  custom: {
    50: '#b8b4f1',
    500: '#9796ea',
    950: '#000000',
  },
}
SCSS
$custom: #9796ea;
$custom-light: #b8b4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9796ea",
  "rgb": {
    "r": 151,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 240.714,
    "s": 66.667,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70782,
    "c": 0.12152,
    "h": 283.4
  },
  "luminance": 0.34333
}

Semantic roles & 50–950 ramp

primary
#9796EA
secondary
#F1F1DA
accent
#CF17CC
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#121117
muted
#818085

Preview Lab

Preview with #9796EA

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

Preview Lab → · Contrast checker → · Palette generator →

#9796EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva