#9797CD#9797CD

#9797CD is a light, moderate blue. Relative luminance 0.331; OKLCH L 69.6% C 0.079 H 284.2°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#9797CD
RGBrgb(151, 151, 205)
HSLhsl(240, 35%, 70%)
HSVhsv(240, 26%, 80%)
CMYKcmyk(26.3%, 26.3%, 0%, 19.6%)
CIE-LABlab(64.26, 11.92, -27.66)
CIE-LCHlch(64.26, 30.12, 293.30°)
OKLaboklab(69.63% 0.0193 -0.0764)
OKLCHoklch(69.63% 0.079 284.2)
XYZxyz(34.8457, 33.1196, 62.3026)
Luminance0.3312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9797CD #CDCD97
analogous
#97B2CD #9797CD #B297CD
triadic
#9797CD #CD9797 #97CD97
tetradic
#9797CD #CD97B2 #CDCD97 #97CDB2
square
#9797CD #CD97B2 #CDCD97 #97CDB2
split-complementary
#9797CD #CDB297 #B2CD97
monochromatic
#4C4C9E #6E6EB9 #9797CD #C0C0E1 #EAEAF5

Accessibility & contrast

On white

2.75
#9797CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#9797CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9797CD
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9797CD#FFFFFF#000000##000000
##9797CD1.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#889DCF
Deuteranopia (green-blind)
#879ACC
Tritanopia (blue-blind)
#8AA0AA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9797cd;
/* rgb */ color: rgb(151, 151, 205);
/* oklch */ color: oklch(69.6% 0.079 284.2);
Tailwind
colors: {
  custom: {
    50: '#b6b5dc',
    500: '#9797cd',
    950: '#000000',
  },
}
SCSS
$custom: #9797cd;
$custom-light: #b6b5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9797cd",
  "rgb": {
    "r": 151,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 240,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69634,
    "c": 0.07876,
    "h": 284.2
  },
  "luminance": 0.3312
}

Semantic roles & 50–950 ramp

primary
#9797CD
secondary
#E8E8D8
accent
#AE38AE
background
#FBFBFD
surface
#F6F6FB
border
#D0D0D4
text
#111115
muted
#808083

Preview Lab

Preview with #9797CD

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

Preview Lab → · Contrast checker → · Palette generator →

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