#997BF9#997BF9

#997BF9 is a light, vivid violet. Relative luminance 0.278; OKLCH L 66.9% C 0.181 H 291.7°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#997BF9
RGBrgb(153, 123, 249)
HSLhsl(254, 91%, 73%)
HSVhsv(254, 51%, 98%)
CMYKcmyk(38.6%, 50.6%, 0%, 2.4%)
CIE-LABlab(59.69, 39.88, -59.27)
CIE-LCHlch(59.69, 71.43, 303.94°)
OKLaboklab(66.88% 0.0669 -0.1679)
OKLCHoklch(66.88% 0.181 291.7)
XYZxyz(37.3141, 27.7768, 92.9996)
Luminance0.2778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BF9 #DBF97B
analogous
#7B9CF9 #997BF9 #D87BF9
triadic
#997BF9 #F9997B #7BF999
tetradic
#997BF9 #F97B9C #DBF97B #7BF9D8
square
#997BF9 #F97B9C #DBF97B #7BF9D8
split-complementary
#997BF9 #F9D87B #9CF97B
monochromatic
#410BEF #6C40F6 #997BF9 #C6B6FC #E8E2FE

Accessibility & contrast

On white

3.20
#997BF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#997BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BF9
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BF9#FFFFFF#000000##000000
##997BF91.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4792FD
Deuteranopia (green-blind)
#4C8DF6
Tritanopia (blue-blind)
#8095AF
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997bf9;
/* rgb */ color: rgb(153, 123, 249);
/* oklch */ color: oklch(66.9% 0.181 291.7);
Tailwind
colors: {
  custom: {
    50: '#bba2fc',
    500: '#997bf9',
    950: '#000000',
  },
}
SCSS
$custom: #997bf9;
$custom-light: #bba2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#997bf9",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 254.286,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.66878,
    "c": 0.18077,
    "h": 291.7
  },
  "luminance": 0.27778
}

Semantic roles & 50–950 ramp

primary
#997BF9
secondary
#EEF6D5
accent
#E600AF
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F17
muted
#817F85

Preview Lab

Preview with #997BF9

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

Preview Lab → · Contrast checker → · Palette generator →

#997BF9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva