#997BFC#997BFC

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

Color values

HEX#997BFC
RGBrgb(153, 123, 252)
HSLhsl(254, 96%, 74%)
HSVhsv(254, 51%, 99%)
CMYKcmyk(39.3%, 51.2%, 0%, 1.2%)
CIE-LABlab(59.86, 40.68, -60.65)
CIE-LCHlch(59.86, 73.02, 303.85°)
OKLaboklab(67.06% 0.0671 -0.172)
OKLCHoklch(67.06% 0.185 291.3)
XYZxyz(37.7858, 27.9654, 95.4836)
Luminance0.2797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BFC #DEFC7B
analogous
#7B9DFC #997BFC #D97BFC
triadic
#997BFC #FC997B #7BFC99
tetradic
#997BFC #FC7B9D #DEFC7B #7BFCD9
square
#997BFC #FC7B9D #DEFC7B #7BFCD9
split-complementary
#997BFC #FCD97B #9DFC7B
monochromatic
#3E06F7 #6B3FFB #997BFC #C7B7FD #E8E1FE

Accessibility & contrast

On white

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

On black

6.59
#997BFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BFC
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BFC#FFFFFF#000000##000000
##997BFC1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4492FF
Deuteranopia (green-blind)
#488EF9
Tritanopia (blue-blind)
#7F96B0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997bfc;
/* rgb */ color: rgb(153, 123, 252);
/* oklch */ color: oklch(67.1% 0.185 291.3);
Tailwind
colors: {
  custom: {
    50: '#bca2fe',
    500: '#997bfc',
    950: '#000000',
  },
}
SCSS
$custom: #997bfc;
$custom-light: #bca2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#997bfc",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 252
  },
  "hsl": {
    "h": 253.953,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.67061,
    "c": 0.18461,
    "h": 291.3
  },
  "luminance": 0.27966
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #997BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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