#997BFD#997BFD

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

Color values

HEX#997BFD
RGBrgb(153, 123, 253)
HSLhsl(254, 97%, 74%)
HSVhsv(254, 51%, 99%)
CMYKcmyk(39.5%, 51.4%, 0%, 0.8%)
CIE-LABlab(59.91, 40.94, -61.10)
CIE-LCHlch(59.91, 73.55, 303.82°)
OKLaboklab(67.12% 0.0672 -0.1733)
OKLCHoklch(67.12% 0.186 291.2)
XYZxyz(37.9446, 28.0290, 96.3204)
Luminance0.2803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BFD #DFFD7B
analogous
#7B9EFD #997BFD #DA7BFD
triadic
#997BFD #FD997B #7BFD99
tetradic
#997BFD #FD7B9E #DFFD7B #7BFDDA
square
#997BFD #FD7B9E #DFFD7B #7BFDDA
split-complementary
#997BFD #FDDA7B #9EFD7B
monochromatic
#3D04FA #6A3FFC #997BFD #C8B7FE #E8E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##997BFD#FFFFFF#000000##000000
##997BFD1.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)
#4393FF
Deuteranopia (green-blind)
#478EFA
Tritanopia (blue-blind)
#7E96B1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997bfd;
/* rgb */ color: rgb(153, 123, 253);
/* oklch */ color: oklch(67.1% 0.186 291.2);
Tailwind
colors: {
  custom: {
    50: '#bca2ff',
    500: '#997bfd',
    950: '#000000',
  },
}
SCSS
$custom: #997bfd;
$custom-light: #bca2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#997bfd",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 253
  },
  "hsl": {
    "h": 253.846,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.67122,
    "c": 0.18588,
    "h": 291.2
  },
  "luminance": 0.2803
}

Semantic roles & 50–950 ramp

primary
#997BFD
secondary
#EFF7D4
accent
#E600B1
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F18
muted
#817F86

Preview Lab

Preview with #997BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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