#997CF9#997CF9

#997CF9 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.0% C 0.179 H 291.5°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#997CF9
RGBrgb(153, 124, 249)
HSLhsl(254, 91%, 73%)
HSVhsv(254, 50%, 98%)
CMYKcmyk(38.6%, 50.2%, 0%, 2.4%)
CIE-LABlab(59.91, 39.31, -58.90)
CIE-LCHlch(59.91, 70.82, 303.72°)
OKLaboklab(67.05% 0.0657 -0.1669)
OKLCHoklch(67.05% 0.179 291.5)
XYZxyz(37.4388, 28.0262, 93.0412)
Luminance0.2803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CF9 #DCF97C
analogous
#7C9DF9 #997CF9 #D77CF9
triadic
#997CF9 #F9997C #7CF999
tetradic
#997CF9 #F97C9D #DCF97C #7CF9D7
square
#997CF9 #F97C9D #DCF97C #7CF9D7
split-complementary
#997CF9 #F9D77C #9DF97C
monochromatic
#400BF0 #6B41F6 #997CF9 #C7B7FC #E8E2FE

Accessibility & contrast

On white

3.18
#997CF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#997CF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997CF9
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997CF9#FFFFFF#000000##000000
##997CF91.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #997cf9;
/* rgb */ color: rgb(153, 124, 249);
/* oklch */ color: oklch(67.0% 0.179 291.5);
Tailwind
colors: {
  custom: {
    50: '#bba2fc',
    500: '#997cf9',
    950: '#000000',
  },
}
SCSS
$custom: #997cf9;
$custom-light: #bba2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#997cf9",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 249
  },
  "hsl": {
    "h": 253.92,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67047,
    "c": 0.17934,
    "h": 291.5
  },
  "luminance": 0.28027
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #997CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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