#9796CD#9796CD

#9796CD is a light, moderate blue. Relative luminance 0.328; OKLCH L 69.4% C 0.080 H 284.9°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#9796CD
RGBrgb(151, 150, 205)
HSLhsl(241, 35%, 70%)
HSVhsv(241, 27%, 80%)
CMYKcmyk(26.3%, 26.8%, 0%, 19.6%)
CIE-LABlab(64.00, 12.49, -28.06)
CIE-LCHlch(64.00, 30.72, 293.99°)
OKLaboklab(69.43% 0.0207 -0.0775)
OKLCHoklch(69.43% 0.08 284.9)
XYZxyz(34.6855, 32.7991, 62.2492)
Luminance0.3280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9796CD #CCCD96
analogous
#96B1CD #9796CD #B396CD
triadic
#9796CD #CD9796 #96CD97
tetradic
#9796CD #CD96B1 #CCCD96 #96CDB3
square
#9796CD #CD96B1 #CCCD96 #96CDB3
split-complementary
#9796CD #CDB396 #B1CD96
monochromatic
#4D4B9E #6E6DB9 #9796CD #C0BFE1 #E9E9F4

Accessibility & contrast

On white

2.78
#9796CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#9796CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9796CD
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9796CD#FFFFFF#000000##000000
##9796CD1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#879DCF
Deuteranopia (green-blind)
#8699CC
Tritanopia (blue-blind)
#8AA0A9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9796cd;
/* rgb */ color: rgb(151, 150, 205);
/* oklch */ color: oklch(69.4% 0.080 284.9);
Tailwind
colors: {
  custom: {
    50: '#b6b4dc',
    500: '#9796cd',
    950: '#000000',
  },
}
SCSS
$custom: #9796cd;
$custom-light: #b6b4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9796cd",
  "rgb": {
    "r": 151,
    "g": 150,
    "b": 205
  },
  "hsl": {
    "h": 241.091,
    "s": 35.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69433,
    "c": 0.0802,
    "h": 284.9
  },
  "luminance": 0.328
}

Semantic roles & 50–950 ramp

primary
#9796CD
secondary
#E7E7D8
accent
#AE37AC
background
#FBFBFD
surface
#F6F6FB
border
#D0D0D4
text
#111115
muted
#808083

Preview Lab

Preview with #9796CD

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

Preview Lab → · Contrast checker → · Palette generator →

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