#997BE7#997BE7

#997BE7 is a light, vivid violet. Relative luminance 0.267; OKLCH L 65.8% C 0.157 H 294.5°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#997BE7
RGBrgb(153, 123, 231)
HSLhsl(257, 69%, 69%)
HSVhsv(257, 47%, 91%)
CMYKcmyk(33.8%, 46.8%, 0%, 9.4%)
CIE-LABlab(58.70, 35.16, -50.85)
CIE-LCHlch(58.70, 61.82, 304.66°)
OKLaboklab(65.82% 0.0652 -0.1433)
OKLCHoklch(65.82% 0.157 294.5)
XYZxyz(34.6400, 26.7071, 78.9158)
Luminance0.2671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BE7 #C9E77B
analogous
#7B93E7 #997BE7 #CF7BE7
triadic
#997BE7 #E7997B #7BE799
tetradic
#997BE7 #E77B93 #C9E77B #7BE7CF
square
#997BE7 #E77B93 #C9E77B #7BE7CF
split-complementary
#997BE7 #E7CF7B #93E77B
monochromatic
#5024C4 #7147DE #997BE7 #C1AFF0 #E9E3FA

Accessibility & contrast

On white

3.31
#997BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#997BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BE7
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BE7#FFFFFF#000000##000000
##997BE71.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#568EEB
Deuteranopia (green-blind)
#5B8CE4
Tritanopia (blue-blind)
#8790A6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #997be7;
/* rgb */ color: rgb(153, 123, 231);
/* oklch */ color: oklch(65.8% 0.157 294.5);
Tailwind
colors: {
  custom: {
    50: '#baa1ef',
    500: '#997be7',
    950: '#000000',
  },
}
SCSS
$custom: #997be7;
$custom-light: #baa1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#997be7",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 231
  },
  "hsl": {
    "h": 256.667,
    "s": 69.231,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65823,
    "c": 0.15745,
    "h": 294.5
  },
  "luminance": 0.26708
}

Semantic roles & 50–950 ramp

primary
#997BE7
secondary
#E6EECF
accent
#D1149D
background
#FBFAFE
surface
#F7F3FD
border
#D0CDD5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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