#9997F4#9997F4

#9997F4 is a light, vivid blue. Relative luminance 0.354; OKLCH L 71.6% C 0.134 H 283.5°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#9997F4
RGBrgb(153, 151, 244)
HSLhsl(241, 81%, 77%)
HSVhsv(241, 38%, 96%)
CMYKcmyk(37.3%, 38.1%, 0%, 4.3%)
CIE-LABlab(66.09, 22.51, -46.36)
CIE-LCHlch(66.09, 51.54, 295.90°)
OKLaboklab(71.63% 0.0312 -0.1302)
OKLCHoklch(71.63% 0.134 283.5)
XYZxyz(40.5280, 35.4358, 90.2748)
Luminance0.3544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9997F4 #F2F497
analogous
#97C4F4 #9997F4 #C797F4
triadic
#9997F4 #F49997 #97F499
tetradic
#9997F4 #F497C4 #F2F497 #97F4C7
square
#9997F4 #F497C4 #F2F497 #97F4C7
split-complementary
#9997F4 #F4C797 #C4F497
monochromatic
#2C28E8 #6360EE #9997F4 #CFCEFA #E4E3FC

Accessibility & contrast

On white

2.60
#9997F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#9997F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9997F4
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9997F4#FFFFFF#000000##000000
##9997F41.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A4F8
Deuteranopia (green-blind)
#759EF2
Tritanopia (blue-blind)
#80A9BA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9997f4;
/* rgb */ color: rgb(153, 151, 244);
/* oklch */ color: oklch(71.6% 0.134 283.5);
Tailwind
colors: {
  custom: {
    50: '#bab5f8',
    500: '#9997f4',
    950: '#000000',
  },
}
SCSS
$custom: #9997f4;
$custom-light: #bab5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#9997f4",
  "rgb": {
    "r": 153,
    "g": 151,
    "b": 244
  },
  "hsl": {
    "h": 241.29,
    "s": 80.87,
    "l": 77.451
  },
  "oklch": {
    "l": 0.7163,
    "c": 0.13384,
    "h": 283.5
  },
  "luminance": 0.35437
}

Semantic roles & 50–950 ramp

primary
#9997F4
secondary
#F3F4D7
accent
#DD08D9
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #9997F4

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

Preview Lab → · Contrast checker → · Palette generator →

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