#9796F4#9796F4

#9796F4 is a light, vivid blue. Relative luminance 0.349; OKLCH L 71.3% C 0.135 H 282.9°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#9796F4
RGBrgb(151, 150, 244)
HSLhsl(241, 81%, 77%)
HSVhsv(241, 39%, 96%)
CMYKcmyk(38.1%, 38.5%, 0%, 4.3%)
CIE-LABlab(65.69, 22.57, -47.00)
CIE-LCHlch(65.69, 52.14, 295.65°)
OKLaboklab(71.29% 0.0302 -0.1321)
OKLCHoklch(71.29% 0.135 282.9)
XYZxyz(39.9933, 34.9222, 90.2039)
Luminance0.3492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9796F4 #F3F496
analogous
#96C4F4 #9796F4 #C696F4
triadic
#9796F4 #F49796 #96F497
tetradic
#9796F4 #F496C4 #F3F496 #96F4C6
square
#9796F4 #F496C4 #F3F496 #96F4C6
split-complementary
#9796F4 #F4C696 #C4F496
monochromatic
#2927E8 #605FEE #9796F4 #CECDFA #E4E3FC

Accessibility & contrast

On white

2.63
#9796F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#9796F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9796F4
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9796F4#FFFFFF#000000##000000
##9796F41.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A3F8
Deuteranopia (green-blind)
#739CF2
Tritanopia (blue-blind)
#7DA8B9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9796f4;
/* rgb */ color: rgb(151, 150, 244);
/* oklch */ color: oklch(71.3% 0.135 282.9);
Tailwind
colors: {
  custom: {
    50: '#b9b4f8',
    500: '#9796f4',
    950: '#000000',
  },
}
SCSS
$custom: #9796f4;
$custom-light: #b9b4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#9796f4",
  "rgb": {
    "r": 151,
    "g": 150,
    "b": 244
  },
  "hsl": {
    "h": 240.638,
    "s": 81.034,
    "l": 77.255
  },
  "oklch": {
    "l": 0.71288,
    "c": 0.13548,
    "h": 282.9
  },
  "luminance": 0.34924
}

Semantic roles & 50–950 ramp

primary
#9796F4
secondary
#F4F4D7
accent
#DD08DB
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #9796F4

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

Preview Lab → · Contrast checker → · Palette generator →

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