#997EB3#997EB3

#997EB3 is a light, moderate violet. Relative luminance 0.249; OKLCH L 63.8% C 0.083 H 307.4°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#997EB3
RGBrgb(153, 126, 179)
HSLhsl(271, 26%, 60%)
HSVhsv(271, 30%, 70%)
CMYKcmyk(14.5%, 29.6%, 0%, 29.8%)
CIE-LABlab(57.03, 20.80, -24.10)
CIE-LCHlch(57.03, 31.84, 310.80°)
OKLaboklab(63.77% 0.0506 -0.0661)
OKLCHoklch(63.77% 0.083 307.4)
XYZxyz(28.7329, 24.9489, 45.9410)
Luminance0.2495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EB3 #98B37E
analogous
#7E7EB3 #997EB3 #B37EB3
triadic
#997EB3 #B3997E #7EB399
tetradic
#997EB3 #B37E7E #98B37E #7EB3B3
square
#997EB3 #B37E7E #98B37E #7EB3B3
split-complementary
#997EB3 #B3B37E #7EB37E
monochromatic
#5C4473 #7A5A99 #997EB3 #B7A5CA #D6CBE0

Accessibility & contrast

On white

3.51
#997EB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#997EB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EB3
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EB3#FFFFFF#000000##000000
##997EB31.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7488B5
Deuteranopia (green-blind)
#7A89B1
Tritanopia (blue-blind)
#968591
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #997eb3;
/* rgb */ color: rgb(153, 126, 179);
/* oklch */ color: oklch(63.8% 0.083 307.4);
Tailwind
colors: {
  custom: {
    50: '#b7a3ca',
    500: '#997eb3',
    950: '#000000',
  },
}
SCSS
$custom: #997eb3;
$custom-light: #b7a3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#997eb3",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 179
  },
  "hsl": {
    "h": 270.566,
    "s": 25.854,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63767,
    "c": 0.08319,
    "h": 307.4
  },
  "luminance": 0.24949
}

Semantic roles & 50–950 ramp

primary
#997EB3
secondary
#C6D1BC
accent
#C26693
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#110F13
muted
#807F82

Preview Lab

Preview with #997EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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