#9797F4#9797F4

#9797F4 is a light, vivid blue. Relative luminance 0.352; OKLCH L 71.5% C 0.134 H 282.5°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#9797F4
RGBrgb(151, 151, 244)
HSLhsl(240, 81%, 77%)
HSVhsv(240, 38%, 96%)
CMYKcmyk(38.1%, 38.1%, 0%, 4.3%)
CIE-LABlab(65.94, 22.00, -46.60)
CIE-LCHlch(65.94, 51.53, 295.27°)
OKLaboklab(71.48% 0.029 -0.1309)
OKLCHoklch(71.48% 0.134 282.5)
XYZxyz(40.1536, 35.2427, 90.2573)
Luminance0.3524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9797F4 #F4F497
analogous
#97C6F4 #9797F4 #C697F4
triadic
#9797F4 #F49797 #97F497
tetradic
#9797F4 #F497C6 #F4F497 #97F4C6
square
#9797F4 #F497C6 #F4F497 #97F4C6
split-complementary
#9797F4 #F4C697 #C6F497
monochromatic
#2828E8 #6060EE #9797F4 #CECEFA #E3E3FC

Accessibility & contrast

On white

2.61
#9797F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#9797F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9797F4
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9797F4#FFFFFF#000000##000000
##9797F41.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A3F8
Deuteranopia (green-blind)
#749DF2
Tritanopia (blue-blind)
#7CA9BA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9797f4;
/* rgb */ color: rgb(151, 151, 244);
/* oklch */ color: oklch(71.5% 0.134 282.5);
Tailwind
colors: {
  custom: {
    50: '#b9b5f8',
    500: '#9797f4',
    950: '#000000',
  },
}
SCSS
$custom: #9797f4;
$custom-light: #b9b5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#9797f4",
  "rgb": {
    "r": 151,
    "g": 151,
    "b": 244
  },
  "hsl": {
    "h": 240,
    "s": 80.87,
    "l": 77.451
  },
  "oklch": {
    "l": 0.71479,
    "c": 0.13408,
    "h": 282.5
  },
  "luminance": 0.35244
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9797F4

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

Preview Lab → · Contrast checker → · Palette generator →

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