#997BCB#997BCB

#997BCB is a light, vivid violet. Relative luminance 0.253; OKLCH L 64.3% C 0.120 H 300.3°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#997BCB
RGBrgb(153, 123, 203)
HSLhsl(263, 43%, 64%)
HSVhsv(263, 39%, 80%)
CMYKcmyk(24.6%, 39.4%, 0%, 20.4%)
CIE-LABlab(57.32, 28.14, -37.31)
CIE-LCHlch(57.32, 46.73, 307.02°)
OKLaboklab(64.33% 0.0608 -0.1039)
OKLCHoklch(64.33% 0.12 300.3)
XYZxyz(30.9969, 25.2499, 59.7290)
Luminance0.2525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BCB #ADCB7B
analogous
#7B85CB #997BCB #C17BCB
triadic
#997BCB #CB997B #7BCB99
tetradic
#997BCB #CB7B85 #ADCB7B #7BCBC1
square
#997BCB #CB7B85 #ADCB7B #7BCBC1
split-complementary
#997BCB #CBC17B #85CB7B
monochromatic
#5B3A92 #774FBA #997BCB #BBA7DC #DDD3EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##997BCB#FFFFFF#000000##000000
##997BCB1.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)
#6789CE
Deuteranopia (green-blind)
#6C89C9
Tritanopia (blue-blind)
#908899
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #997bcb;
/* rgb */ color: rgb(153, 123, 203);
/* oklch */ color: oklch(64.3% 0.120 300.3);
Tailwind
colors: {
  custom: {
    50: '#b8a1db',
    500: '#997bcb',
    950: '#000000',
  },
}
SCSS
$custom: #997bcb;
$custom-light: #b8a1db;
$custom-dark: #000000;
JSON
{
  "hex": "#997bcb",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 203
  },
  "hsl": {
    "h": 262.5,
    "s": 43.478,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64328,
    "c": 0.12037,
    "h": 300.3
  },
  "luminance": 0.2525
}

Semantic roles & 50–950 ramp

primary
#997BCB
secondary
#D4DFC3
accent
#B72F84
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110F15
muted
#807E83

Preview Lab

Preview with #997BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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