#997BEE#997BEE

#997BEE is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.2% C 0.167 H 293.3°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#997BEE
RGBrgb(153, 123, 238)
HSLhsl(256, 77%, 71%)
HSVhsv(256, 48%, 93%)
CMYKcmyk(35.7%, 48.3%, 0%, 6.7%)
CIE-LABlab(59.08, 36.98, -54.15)
CIE-LCHlch(59.08, 65.57, 304.33°)
OKLaboklab(66.22% 0.066 -0.1529)
OKLCHoklch(66.22% 0.167 293.3)
XYZxyz(35.6484, 27.1105, 84.2270)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BEE #D0EE7B
analogous
#7B96EE #997BEE #D27BEE
triadic
#997BEE #EE997B #7BEE99
tetradic
#997BEE #EE7B96 #D0EE7B #7BEED2
square
#997BEE #EE7B96 #D0EE7B #7BEED2
split-complementary
#997BEE #EED27B #96EE7B
monochromatic
#4B1BD3 #6F45E7 #997BEE #C3B1F5 #EAE4FC

Accessibility & contrast

On white

3.27
#997BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#997BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BEE
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BEE#FFFFFF#000000##000000
##997BEE1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5190F2
Deuteranopia (green-blind)
#568CEB
Tritanopia (blue-blind)
#8492A9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #997bee;
/* rgb */ color: rgb(153, 123, 238);
/* oklch */ color: oklch(66.2% 0.167 293.3);
Tailwind
colors: {
  custom: {
    50: '#bba1f4',
    500: '#997bee',
    950: '#000000',
  },
}
SCSS
$custom: #997bee;
$custom-light: #bba1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#997bee",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 255.652,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66225,
    "c": 0.16657,
    "h": 293.3
  },
  "luminance": 0.27111
}

Semantic roles & 50–950 ramp

primary
#997BEE
secondary
#EAF2D3
accent
#D90CA4
background
#FBFAFE
surface
#F7F3FD
border
#D0CDD5
text
#120F17
muted
#817F85

Preview Lab

Preview with #997BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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