#997BF8#997BF8

#997BF8 is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.8% C 0.179 H 291.9°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#997BF8
RGBrgb(153, 123, 248)
HSLhsl(254, 90%, 73%)
HSVhsv(254, 50%, 97%)
CMYKcmyk(38.3%, 50.4%, 0%, 2.7%)
CIE-LABlab(59.63, 39.61, -58.80)
CIE-LCHlch(59.63, 70.90, 303.97°)
OKLaboklab(66.82% 0.0669 -0.1666)
OKLCHoklch(66.82% 0.179 291.9)
XYZxyz(37.1586, 27.7146, 92.1804)
Luminance0.2772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BF8 #DAF87B
analogous
#7B9BF8 #997BF8 #D77BF8
triadic
#997BF8 #F8997B #7BF899
tetradic
#997BF8 #F87B9B #DAF87B #7BF8D7
square
#997BF8 #F87B9B #DAF87B #7BF8D7
split-complementary
#997BF8 #F8D77B #9BF87B
monochromatic
#420DEC #6C41F5 #997BF8 #C6B5FB #E9E2FD

Accessibility & contrast

On white

3.21
#997BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#997BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BF8
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BF8#FFFFFF#000000##000000
##997BF81.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4892FC
Deuteranopia (green-blind)
#4D8DF5
Tritanopia (blue-blind)
#8094AE
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997bf8;
/* rgb */ color: rgb(153, 123, 248);
/* oklch */ color: oklch(66.8% 0.179 291.9);
Tailwind
colors: {
  custom: {
    50: '#bba2fb',
    500: '#997bf8',
    950: '#000000',
  },
}
SCSS
$custom: #997bf8;
$custom-light: #bba2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#997bf8",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 254.4,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.66818,
    "c": 0.17948,
    "h": 291.9
  },
  "luminance": 0.27716
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #997BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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