#997BFE#997BFE

#997BFE is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.2% C 0.187 H 291.1°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#997BFE
RGBrgb(153, 123, 254)
HSLhsl(254, 98%, 74%)
HSVhsv(254, 52%, 100%)
CMYKcmyk(39.8%, 51.6%, 0%, 0.4%)
CIE-LABlab(59.97, 41.21, -61.56)
CIE-LCHlch(59.97, 74.08, 303.80°)
OKLaboklab(67.18% 0.0672 -0.1747)
OKLCHoklch(67.18% 0.187 291.1)
XYZxyz(38.1043, 28.0929, 97.1615)
Luminance0.2809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BFE #E0FE7B
analogous
#7B9FFE #997BFE #DA7BFE
triadic
#997BFE #FE997B #7BFE99
tetradic
#997BFE #FE7B9F #E0FE7B #7BFEDA
square
#997BFE #FE7B9F #E0FE7B #7BFEDA
split-complementary
#997BFE #FEDA7B #9FFE7B
monochromatic
#3B02FD #6A3EFE #997BFE #C8B8FE #E8E1FF

Accessibility & contrast

On white

3.17
#997BFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#997BFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BFE
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BFE#FFFFFF#000000##000000
##997BFE1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4293FF
Deuteranopia (green-blind)
#468EFB
Tritanopia (blue-blind)
#7E96B1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997bfe;
/* rgb */ color: rgb(153, 123, 254);
/* oklch */ color: oklch(67.2% 0.187 291.1);
Tailwind
colors: {
  custom: {
    50: '#bca2ff',
    500: '#997bfe',
    950: '#000000',
  },
}
SCSS
$custom: #997bfe;
$custom-light: #bca2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#997bfe",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 254
  },
  "hsl": {
    "h": 253.74,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.67184,
    "c": 0.18717,
    "h": 291.1
  },
  "luminance": 0.28094
}

Semantic roles & 50–950 ramp

primary
#997BFE
secondary
#EFF7D4
accent
#E600B1
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#120F18
muted
#817F86

Preview Lab

Preview with #997BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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