#997EEB#997EEB

#997EEB is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.6% C 0.158 H 293.0°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#997EEB
RGBrgb(153, 126, 235)
HSLhsl(255, 73%, 71%)
HSVhsv(255, 46%, 92%)
CMYKcmyk(34.9%, 46.4%, 0%, 7.8%)
CIE-LABlab(59.61, 34.48, -51.64)
CIE-LCHlch(59.61, 62.09, 303.73°)
OKLaboklab(66.57% 0.0618 -0.1456)
OKLCHoklch(66.57% 0.158 293)
XYZxyz(35.5892, 27.6914, 82.0511)
Luminance0.2769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EEB #D0EB7E
analogous
#7E99EB #997EEB #CF7EEB
triadic
#997EEB #EB997E #7EEB99
tetradic
#997EEB #EB7E99 #D0EB7E #7EEBCF
square
#997EEB #EB7E99 #D0EB7E #7EEBCF
split-complementary
#997EEB #EBCF7E #99EB7E
monochromatic
#4B20CF #6F49E3 #997EEB #C3B3F3 #EAE5FB

Accessibility & contrast

On white

3.21
#997EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#997EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EEB
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EEB#FFFFFF#000000##000000
##997EEB1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891EF
Deuteranopia (green-blind)
#5C8EE8
Tritanopia (blue-blind)
#8593A9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997eeb;
/* rgb */ color: rgb(153, 126, 235);
/* oklch */ color: oklch(66.6% 0.158 293.0);
Tailwind
colors: {
  custom: {
    50: '#baa4f2',
    500: '#997eeb',
    950: '#000000',
  },
}
SCSS
$custom: #997eeb;
$custom-light: #baa4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#997eeb",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 235
  },
  "hsl": {
    "h": 254.862,
    "s": 73.154,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66573,
    "c": 0.15818,
    "h": 293
  },
  "luminance": 0.27692
}

Semantic roles & 50–950 ramp

primary
#997EEB
secondary
#EAF1D4
accent
#D510A4
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #997EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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