#997FEB#997FEB

#997FEB is a light, vivid violet. Relative luminance 0.279; OKLCH L 66.7% C 0.157 H 292.7°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#997FEB
RGBrgb(153, 127, 235)
HSLhsl(254, 73%, 71%)
HSVhsv(254, 46%, 92%)
CMYKcmyk(34.9%, 46%, 0%, 7.8%)
CIE-LABlab(59.84, 33.91, -51.27)
CIE-LCHlch(59.84, 61.47, 303.48°)
OKLaboklab(66.75% 0.0606 -0.1445)
OKLCHoklch(66.75% 0.157 292.7)
XYZxyz(35.7177, 27.9484, 82.0939)
Luminance0.2795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FEB #D1EB7F
analogous
#7F9BEB #997FEB #CF7FEB
triadic
#997FEB #EB997F #7FEB99
tetradic
#997FEB #EB7F9B #D1EB7F #7FEBCF
square
#997FEB #EB7F9B #D1EB7F #7FEBCF
split-complementary
#997FEB #EBCF7F #9BEB7F
monochromatic
#4A20CF #6F4AE3 #997FEB #C3B4F3 #EAE5FB

Accessibility & contrast

On white

3.19
#997FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#997FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FEB
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FEB#FFFFFF#000000##000000
##997FEB1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92EF
Deuteranopia (green-blind)
#5D8EE8
Tritanopia (blue-blind)
#8594AA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997feb;
/* rgb */ color: rgb(153, 127, 235);
/* oklch */ color: oklch(66.7% 0.157 292.7);
Tailwind
colors: {
  custom: {
    50: '#baa4f2',
    500: '#997feb',
    950: '#000000',
  },
}
SCSS
$custom: #997feb;
$custom-light: #baa4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#997feb",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 254.444,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66748,
    "c": 0.15667,
    "h": 292.7
  },
  "luminance": 0.27949
}

Semantic roles & 50–950 ramp

primary
#997FEB
secondary
#EAF1D5
accent
#D510A6
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #997FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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