#9796FA#9796FA

#9796FA is a light, vivid blue. Relative luminance 0.353; OKLCH L 71.6% C 0.144 H 282.6°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#9796FA
RGBrgb(151, 150, 250)
HSLhsl(241, 91%, 78%)
HSVhsv(241, 40%, 98%)
CMYKcmyk(39.6%, 40%, 0%, 2%)
CIE-LABlab(65.98, 24.20, -49.83)
CIE-LCHlch(65.98, 55.39, 295.90°)
OKLaboklab(71.6% 0.0314 -0.1403)
OKLCHoklch(71.6% 0.144 282.6)
XYZxyz(40.9192, 35.2925, 95.0801)
Luminance0.3529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9796FA #F9FA96
analogous
#96C7FA #9796FA #C996FA
triadic
#9796FA #FA9796 #96FA97
tetradic
#9796FA #FA96C7 #F9FA96 #96FAC9
square
#9796FA #FA96C7 #F9FA96 #96FAC9
split-complementary
#9796FA #FAC996 #C7FA96
monochromatic
#2321F4 #5D5CF7 #9796FA #D1D0FD #E2E2FE

Accessibility & contrast

On white

2.61
#9796FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#9796FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9796FA
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9796FA#FFFFFF#000000##000000
##9796FA1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A4FE
Deuteranopia (green-blind)
#6F9DF8
Tritanopia (blue-blind)
#7AAABC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9796fa;
/* rgb */ color: rgb(151, 150, 250);
/* oklch */ color: oklch(71.6% 0.144 282.6);
Tailwind
colors: {
  custom: {
    50: '#b9b4fc',
    500: '#9796fa',
    950: '#000000',
  },
}
SCSS
$custom: #9796fa;
$custom-light: #b9b4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9796fa",
  "rgb": {
    "r": 151,
    "g": 150,
    "b": 250
  },
  "hsl": {
    "h": 240.6,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.71602,
    "c": 0.14376,
    "h": 282.6
  },
  "luminance": 0.35294
}

Semantic roles & 50–950 ramp

primary
#9796FA
secondary
#F5F6D5
accent
#E600E3
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #9796FA

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

Preview Lab → · Contrast checker → · Palette generator →

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