#997BCE#997BCE

#997BCE is a light, vivid violet. Relative luminance 0.254; OKLCH L 64.5% C 0.124 H 299.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#997BCE
RGBrgb(153, 123, 206)
HSLhsl(262, 46%, 65%)
HSVhsv(262, 40%, 81%)
CMYKcmyk(25.7%, 40.3%, 0%, 19.2%)
CIE-LABlab(57.46, 28.87, -38.79)
CIE-LCHlch(57.46, 48.35, 306.66°)
OKLaboklab(64.48% 0.0614 -0.1082)
OKLCHoklch(64.48% 0.124 299.6)
XYZxyz(31.3579, 25.3943, 61.6301)
Luminance0.2539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BCE #B0CE7B
analogous
#7B87CE #997BCE #C37BCE
triadic
#997BCE #CE997B #7BCE99
tetradic
#997BCE #CE7B87 #B0CE7B #7BCEC3
square
#997BCE #CE7B87 #B0CE7B #7BCEC3
split-complementary
#997BCE #CEC37B #87CE7B
monochromatic
#5A3897 #774EBD #997BCE #BBA8DF #DED4EF

Accessibility & contrast

On white

3.45
#997BCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#997BCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BCE
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BCE#FFFFFF#000000##000000
##997BCE1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#658AD1
Deuteranopia (green-blind)
#6B89CC
Tritanopia (blue-blind)
#8F899B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #997bce;
/* rgb */ color: rgb(153, 123, 206);
/* oklch */ color: oklch(64.5% 0.124 299.6);
Tailwind
colors: {
  custom: {
    50: '#b9a1dd',
    500: '#997bce',
    950: '#000000',
  },
}
SCSS
$custom: #997bce;
$custom-light: #b9a1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#997bce",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 206
  },
  "hsl": {
    "h": 261.687,
    "s": 45.856,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64479,
    "c": 0.12438,
    "h": 299.6
  },
  "luminance": 0.25394
}

Semantic roles & 50–950 ramp

primary
#997BCE
secondary
#D6E1C4
accent
#B92C86
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120F15
muted
#817E83

Preview Lab

Preview with #997BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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