#997EF9#997EF9

#997EF9 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.4% C 0.176 H 291.0°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#997EF9
RGBrgb(153, 126, 249)
HSLhsl(253, 91%, 74%)
HSVhsv(253, 49%, 98%)
CMYKcmyk(38.6%, 49.4%, 0%, 2.4%)
CIE-LABlab(60.37, 38.18, -58.18)
CIE-LCHlch(60.37, 69.59, 303.27°)
OKLaboklab(67.39% 0.0633 -0.1647)
OKLCHoklch(67.39% 0.176 291)
XYZxyz(37.6920, 28.5325, 93.1256)
Luminance0.2853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EF9 #DEF97E
analogous
#7EA0F9 #997EF9 #D67EF9
triadic
#997EF9 #F9997E #7EF999
tetradic
#997EF9 #F97EA0 #DEF97E #7EF9D6
square
#997EF9 #F97EA0 #DEF97E #7EF9D6
split-complementary
#997EF9 #F9D67E #A0F97E
monochromatic
#3E0BF1 #6B44F6 #997EF9 #C7B8FC #E8E2FE

Accessibility & contrast

On white

3.13
#997EF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#997EF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EF9
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EF9#FFFFFF#000000##000000
##997EF91.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D94FD
Deuteranopia (green-blind)
#508FF6
Tritanopia (blue-blind)
#8097B0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #997ef9;
/* rgb */ color: rgb(153, 126, 249);
/* oklch */ color: oklch(67.4% 0.176 291.0);
Tailwind
colors: {
  custom: {
    50: '#bba4fc',
    500: '#997ef9',
    950: '#000000',
  },
}
SCSS
$custom: #997ef9;
$custom-light: #bba4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#997ef9",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 249
  },
  "hsl": {
    "h": 253.171,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.67386,
    "c": 0.17646,
    "h": 291
  },
  "luminance": 0.28534
}

Semantic roles & 50–950 ramp

primary
#997EF9
secondary
#EFF6D5
accent
#E600B3
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #997EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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