#997BFB#997BFB

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

Color values

HEX#997BFB
RGBrgb(153, 123, 251)
HSLhsl(254, 94%, 73%)
HSVhsv(254, 51%, 98%)
CMYKcmyk(39%, 51%, 0%, 1.6%)
CIE-LABlab(59.80, 40.41, -60.19)
CIE-LCHlch(59.80, 72.49, 303.88°)
OKLaboklab(67% 0.0671 -0.1706)
OKLCHoklch(67% 0.183 291.5)
XYZxyz(37.6277, 27.9022, 94.6512)
Luminance0.2790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BFB #DDFB7B
analogous
#7B9DFB #997BFB #D97BFB
triadic
#997BFB #FB997B #7BFB99
tetradic
#997BFB #FB7B9D #DDFB7B #7BFBD9
square
#997BFB #FB7B9D #DDFB7B #7BFBD9
split-complementary
#997BFB #FBD97B #9DFB7B
monochromatic
#3F07F4 #6B40F9 #997BFB #C7B6FD #E8E1FE

Accessibility & contrast

On white

3.19
#997BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#997BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BFB
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BFB#FFFFFF#000000##000000
##997BFB1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4592FF
Deuteranopia (green-blind)
#4A8DF8
Tritanopia (blue-blind)
#7F95B0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997bfb;
/* rgb */ color: rgb(153, 123, 251);
/* oklch */ color: oklch(67.0% 0.183 291.5);
Tailwind
colors: {
  custom: {
    50: '#bca2fd',
    500: '#997bfb',
    950: '#000000',
  },
}
SCSS
$custom: #997bfb;
$custom-light: #bca2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#997bfb",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 254.063,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67,
    "c": 0.18333,
    "h": 291.5
  },
  "luminance": 0.27903
}

Semantic roles & 50–950 ramp

primary
#997BFB
secondary
#EEF6D5
accent
#E600B0
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F18
muted
#817F86

Preview Lab

Preview with #997BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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