#997FF7#997FF7

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

Color values

HEX#997FF7
RGBrgb(153, 127, 247)
HSLhsl(253, 88%, 73%)
HSVhsv(253, 49%, 97%)
CMYKcmyk(38.1%, 48.6%, 0%, 3.1%)
CIE-LABlab(60.49, 37.08, -56.89)
CIE-LCHlch(60.49, 67.90, 303.09°)
OKLaboklab(67.44% 0.0619 -0.1609)
OKLCHoklch(67.44% 0.172 291)
XYZxyz(37.5102, 28.6654, 91.5343)
Luminance0.2867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FF7 #DDF77F
analogous
#7FA1F7 #997FF7 #D57FF7
triadic
#997FF7 #F7997F #7FF799
tetradic
#997FF7 #F77FA1 #DDF77F #7FF7D5
square
#997FF7 #F77FA1 #DDF77F #7FF7D5
split-complementary
#997FF7 #F7D57F #A1F77F
monochromatic
#3F0FED #6B45F3 #997FF7 #C7B9FB #E8E2FD

Accessibility & contrast

On white

3.12
#997FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#997FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FF7
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FF7#FFFFFF#000000##000000
##997FF71.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5194FB
Deuteranopia (green-blind)
#548FF4
Tritanopia (blue-blind)
#8097AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #997ff7;
/* rgb */ color: rgb(153, 127, 247);
/* oklch */ color: oklch(67.4% 0.172 291.0);
Tailwind
colors: {
  custom: {
    50: '#bba4fa',
    500: '#997ff7',
    950: '#000000',
  },
}
SCSS
$custom: #997ff7;
$custom-light: #bba4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#997ff7",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 253,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67439,
    "c": 0.17242,
    "h": 291
  },
  "luminance": 0.28666
}

Semantic roles & 50–950 ramp

primary
#997FF7
secondary
#EEF5D6
accent
#E501B3
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #997FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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