#997BE5#997BE5

#997BE5 is a light, vivid violet. Relative luminance 0.266; OKLCH L 65.7% C 0.155 H 294.8°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#997BE5
RGBrgb(153, 123, 229)
HSLhsl(257, 67%, 69%)
HSVhsv(257, 46%, 90%)
CMYKcmyk(33.2%, 46.3%, 0%, 10.2%)
CIE-LABlab(58.60, 34.64, -49.91)
CIE-LCHlch(58.60, 60.75, 304.77°)
OKLaboklab(65.71% 0.065 -0.1405)
OKLCHoklch(65.71% 0.155 294.8)
XYZxyz(34.3591, 26.5948, 77.4366)
Luminance0.2660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BE5 #C7E57B
analogous
#7B92E5 #997BE5 #CE7BE5
triadic
#997BE5 #E5997B #7BE599
tetradic
#997BE5 #E57B92 #C7E57B #7BE5CE
square
#997BE5 #E57B92 #C7E57B #7BE5CE
split-complementary
#997BE5 #E5CE7B #92E57B
monochromatic
#5126C0 #7148DB #997BE5 #C1AEEF #E8E1F9

Accessibility & contrast

On white

3.32
#997BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#997BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BE5
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BE5#FFFFFF#000000##000000
##997BE51.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#588EE9
Deuteranopia (green-blind)
#5D8BE2
Tritanopia (blue-blind)
#888FA5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #997be5;
/* rgb */ color: rgb(153, 123, 229);
/* oklch */ color: oklch(65.7% 0.155 294.8);
Tailwind
colors: {
  custom: {
    50: '#baa1ee',
    500: '#997be5',
    950: '#000000',
  },
}
SCSS
$custom: #997be5;
$custom-light: #baa1ee;
$custom-dark: #000000;
JSON
{
  "hex": "#997be5",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 229
  },
  "hsl": {
    "h": 256.981,
    "s": 67.089,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65711,
    "c": 0.15482,
    "h": 294.8
  },
  "luminance": 0.26595
}

Semantic roles & 50–950 ramp

primary
#997BE5
secondary
#E5EDCE
accent
#CF179B
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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