#997FEF#997FEF

#997FEF is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.0% C 0.162 H 292.1°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#997FEF
RGBrgb(153, 127, 239)
HSLhsl(254, 78%, 72%)
HSVhsv(254, 47%, 94%)
CMYKcmyk(36%, 46.9%, 0%, 6.3%)
CIE-LABlab(60.05, 34.96, -53.15)
CIE-LCHlch(60.05, 63.62, 303.33°)
OKLaboklab(66.97% 0.061 -0.15)
OKLCHoklch(66.97% 0.162 292.1)
XYZxyz(36.3021, 28.1822, 85.1717)
Luminance0.2818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FEF #D5EF7F
analogous
#7F9DEF #997FEF #D17FEF
triadic
#997FEF #EF997F #7FEF99
tetradic
#997FEF #EF7F9D #D5EF7F #7FEFD1
square
#997FEF #EF7F9D #D5EF7F #7FEFD1
split-complementary
#997FEF #EFD17F #9DEF7F
monochromatic
#471BD9 #6E49E8 #997FEF #C4B5F6 #E9E4FC

Accessibility & contrast

On white

3.16
#997FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#997FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FEF
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FEF#FFFFFF#000000##000000
##997FEF1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5792F3
Deuteranopia (green-blind)
#5A8FEC
Tritanopia (blue-blind)
#8495AC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #997fef;
/* rgb */ color: rgb(153, 127, 239);
/* oklch */ color: oklch(67.0% 0.162 292.1);
Tailwind
colors: {
  custom: {
    50: '#bba4f5',
    500: '#997fef',
    950: '#000000',
  },
}
SCSS
$custom: #997fef;
$custom-light: #bba4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#997fef",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 253.929,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66975,
    "c": 0.16195,
    "h": 292.1
  },
  "luminance": 0.28183
}

Semantic roles & 50–950 ramp

primary
#997FEF
secondary
#EDF3D7
accent
#DA0BAA
background
#FBFAFF
surface
#F7F4FE
border
#D0CED6
text
#120F17
muted
#817F85

Preview Lab

Preview with #997FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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