#997BCF#997BCF

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

Color values

HEX#997BCF
RGBrgb(153, 123, 207)
HSLhsl(261, 47%, 65%)
HSVhsv(261, 41%, 81%)
CMYKcmyk(26.1%, 40.6%, 0%, 18.8%)
CIE-LABlab(57.50, 29.11, -39.28)
CIE-LCHlch(57.50, 48.89, 306.54°)
OKLaboklab(64.53% 0.0616 -0.1096)
OKLCHoklch(64.53% 0.126 299.3)
XYZxyz(31.4797, 25.4430, 62.2719)
Luminance0.2544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BCF #B1CF7B
analogous
#7B87CF #997BCF #C37BCF
triadic
#997BCF #CF997B #7BCF99
tetradic
#997BCF #CF7B87 #B1CF7B #7BCFC3
square
#997BCF #CF7B87 #B1CF7B #7BCFC3
split-complementary
#997BCF #CFC37B #87CF7B
monochromatic
#5A3798 #764EBF #997BCF #BCA8DF #DED5F0

Accessibility & contrast

On white

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

On black

6.09
#997BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BCF
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BCF#FFFFFF#000000##000000
##997BCF1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #997bcf;
/* rgb */ color: rgb(153, 123, 207);
/* oklch */ color: oklch(64.5% 0.126 299.3);
Tailwind
colors: {
  custom: {
    50: '#b9a1de',
    500: '#997bcf',
    950: '#000000',
  },
}
SCSS
$custom: #997bcf;
$custom-light: #b9a1de;
$custom-dark: #000000;
JSON
{
  "hex": "#997bcf",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 207
  },
  "hsl": {
    "h": 261.429,
    "s": 46.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6453,
    "c": 0.12571,
    "h": 299.3
  },
  "luminance": 0.25443
}

Semantic roles & 50–950 ramp

primary
#997BCF
secondary
#D7E1C4
accent
#BA2C87
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120F15
muted
#817E83

Preview Lab

Preview with #997BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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