#997BF7#997BF7

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

Color values

HEX#997BF7
RGBrgb(153, 123, 247)
HSLhsl(255, 89%, 73%)
HSVhsv(255, 50%, 97%)
CMYKcmyk(38.1%, 50.2%, 0%, 3.1%)
CIE-LABlab(59.57, 39.35, -58.34)
CIE-LCHlch(59.57, 70.37, 304.00°)
OKLaboklab(66.76% 0.0668 -0.1652)
OKLCHoklch(66.76% 0.178 292)
XYZxyz(37.0038, 27.6527, 91.3655)
Luminance0.2765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BF7 #D9F77B
analogous
#7B9BF7 #997BF7 #D77BF7
triadic
#997BF7 #F7997B #7BF799
tetradic
#997BF7 #F77B9B #D9F77B #7BF7D7
square
#997BF7 #F77B9B #D9F77B #7BF7D7
split-complementary
#997BF7 #F7D77B #9BF77B
monochromatic
#430EE9 #6C41F4 #997BF7 #C6B5FA #E9E2FD

Accessibility & contrast

On white

3.22
#997BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#997BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BF7
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BF7#FFFFFF#000000##000000
##997BF71.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4991FB
Deuteranopia (green-blind)
#4E8DF4
Tritanopia (blue-blind)
#8194AE
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997bf7;
/* rgb */ color: rgb(153, 123, 247);
/* oklch */ color: oklch(66.8% 0.178 292.0);
Tailwind
colors: {
  custom: {
    50: '#bba2fa',
    500: '#997bf7',
    950: '#000000',
  },
}
SCSS
$custom: #997bf7;
$custom-light: #bba2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#997bf7",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 254.516,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.66758,
    "c": 0.1782,
    "h": 292
  },
  "luminance": 0.27654
}

Semantic roles & 50–950 ramp

primary
#997BF7
secondary
#EEF5D6
accent
#E500AE
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F17
muted
#817F85

Preview Lab

Preview with #997BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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