#997FF8#997FF8

#997FF8 is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.5% C 0.174 H 290.9°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#997FF8
RGBrgb(153, 127, 248)
HSLhsl(253, 90%, 74%)
HSVhsv(253, 49%, 97%)
CMYKcmyk(38.3%, 48.8%, 0%, 2.7%)
CIE-LABlab(60.54, 37.34, -57.35)
CIE-LCHlch(60.54, 68.44, 303.07°)
OKLaboklab(67.5% 0.062 -0.1623)
OKLCHoklch(67.5% 0.174 290.9)
XYZxyz(37.6649, 28.7273, 92.3492)
Luminance0.2873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FF8 #DEF87F
analogous
#7FA1F8 #997FF8 #D67FF8
triadic
#997FF8 #F8997F #7FF899
tetradic
#997FF8 #F87FA1 #DEF87F #7FF8D6
square
#997FF8 #F87FA1 #DEF87F #7FF8D6
split-complementary
#997FF8 #F8D67F #A1F87F
monochromatic
#3E0DF0 #6B45F5 #997FF8 #C7B9FB #E8E2FD

Accessibility & contrast

On white

3.11
#997FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#997FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FF8
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FF8#FFFFFF#000000##000000
##997FF81.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5094FC
Deuteranopia (green-blind)
#538FF5
Tritanopia (blue-blind)
#8097B0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #997ff8;
/* rgb */ color: rgb(153, 127, 248);
/* oklch */ color: oklch(67.5% 0.174 290.9);
Tailwind
colors: {
  custom: {
    50: '#bba4fb',
    500: '#997ff8',
    950: '#000000',
  },
}
SCSS
$custom: #997ff8;
$custom-light: #bba4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#997ff8",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 248
  },
  "hsl": {
    "h": 252.893,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.67498,
    "c": 0.17372,
    "h": 290.9
  },
  "luminance": 0.28728
}

Semantic roles & 50–950 ramp

primary
#997FF8
secondary
#EFF5D6
accent
#E600B4
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #997FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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