#9797EA#9797EA

#9797EA is a light, vivid blue. Relative luminance 0.347; OKLCH L 71.0% C 0.120 H 282.9°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#9797EA
RGBrgb(151, 151, 234)
HSLhsl(240, 66%, 75%)
HSVhsv(240, 35%, 92%)
CMYKcmyk(35.5%, 35.5%, 0%, 8.2%)
CIE-LABlab(65.48, 19.32, -41.84)
CIE-LCHlch(65.48, 46.08, 294.79°)
OKLaboklab(70.97% 0.0268 -0.1171)
OKLCHoklch(70.97% 0.12 282.9)
XYZxyz(38.6763, 34.6518, 82.4766)
Luminance0.3465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9797EA #EAEA97
analogous
#97C0EA #9797EA #C097EA
triadic
#9797EA #EA9797 #97EA97
tetradic
#9797EA #EA97C0 #EAEA97 #97EAC0
square
#9797EA #EA97C0 #EAEA97 #97EAC0
split-complementary
#9797EA #EAC097 #C0EA97
monochromatic
#3131D5 #6464E0 #9797EA #CACAF4 #E6E6FA

Accessibility & contrast

On white

2.65
#9797EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#9797EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9797EA
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9797EA#FFFFFF#000000##000000
##9797EA1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA2ED
Deuteranopia (green-blind)
#799CE8
Tritanopia (blue-blind)
#81A7B6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9797ea;
/* rgb */ color: rgb(151, 151, 234);
/* oklch */ color: oklch(71.0% 0.120 282.9);
Tailwind
colors: {
  custom: {
    50: '#b8b5f1',
    500: '#9797ea',
    950: '#000000',
  },
}
SCSS
$custom: #9797ea;
$custom-light: #b8b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9797ea",
  "rgb": {
    "r": 151,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 240,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70975,
    "c": 0.12011,
    "h": 282.9
  },
  "luminance": 0.34653
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9797EA

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

Preview Lab → · Contrast checker → · Palette generator →

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