#997EBA#997EBA

#997EBA is a light, moderate violet. Relative luminance 0.252; OKLCH L 64.1% C 0.093 H 304.5°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#997EBA
RGBrgb(153, 126, 186)
HSLhsl(267, 30%, 61%)
HSVhsv(267, 32%, 73%)
CMYKcmyk(17.7%, 32.3%, 0%, 27.1%)
CIE-LABlab(57.31, 22.39, -27.66)
CIE-LCHlch(57.31, 35.59, 308.99°)
OKLaboklab(64.08% 0.0525 -0.0762)
OKLCHoklch(64.08% 0.093 304.5)
XYZxyz(29.4589, 25.2393, 49.7646)
Luminance0.2524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EBA #9FBA7E
analogous
#7E81BA #997EBA #B77EBA
triadic
#997EBA #BA997E #7EBA99
tetradic
#997EBA #BA7E81 #9FBA7E #7EBAB7
square
#997EBA #BA7E81 #9FBA7E #7EBAB7
split-complementary
#997EBA #BAB77E #81BA7E
monochromatic
#5C427C #7A57A3 #997EBA #B9A6CF #D8CEE5

Accessibility & contrast

On white

3.47
#997EBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#997EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EBA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EBA#FFFFFF#000000##000000
##997EBA1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7289BC
Deuteranopia (green-blind)
#778AB8
Tritanopia (blue-blind)
#948794
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #997eba;
/* rgb */ color: rgb(153, 126, 186);
/* oklch */ color: oklch(64.1% 0.093 304.5);
Tailwind
colors: {
  custom: {
    50: '#b8a3cf',
    500: '#997eba',
    950: '#000000',
  },
}
SCSS
$custom: #997eba;
$custom-light: #b8a3cf;
$custom-dark: #000000;
JSON
{
  "hex": "#997eba",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 186
  },
  "hsl": {
    "h": 267,
    "s": 30.303,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64076,
    "c": 0.09252,
    "h": 304.5
  },
  "luminance": 0.25239
}

Semantic roles & 50–950 ramp

primary
#997EBA
secondary
#CBD5BF
accent
#A93D78
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#110F13
muted
#807F82

Preview Lab

Preview with #997EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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