#997BCD#997BCD

#997BCD is a light, vivid violet. Relative luminance 0.253; OKLCH L 64.4% C 0.123 H 299.8°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#997BCD
RGBrgb(153, 123, 205)
HSLhsl(262, 45%, 64%)
HSVhsv(262, 40%, 80%)
CMYKcmyk(25.4%, 40%, 0%, 19.6%)
CIE-LABlab(57.41, 28.62, -38.30)
CIE-LCHlch(57.41, 47.81, 306.77°)
OKLaboklab(64.43% 0.0612 -0.1068)
OKLCHoklch(64.43% 0.123 299.8)
XYZxyz(31.2368, 25.3458, 60.9923)
Luminance0.2535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BCD #AFCD7B
analogous
#7B86CD #997BCD #C27BCD
triadic
#997BCD #CD997B #7BCD99
tetradic
#997BCD #CD7B86 #AFCD7B #7BCDC2
square
#997BCD #CD7B86 #AFCD7B #7BCDC2
split-complementary
#997BCD #CDC27B #86CD7B
monochromatic
#5A3895 #774FBC #997BCD #BBA7DE #DED4EF

Accessibility & contrast

On white

3.46
#997BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#997BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BCD
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BCD#FFFFFF#000000##000000
##997BCD1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#668AD0
Deuteranopia (green-blind)
#6B89CB
Tritanopia (blue-blind)
#8F899A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #997bcd;
/* rgb */ color: rgb(153, 123, 205);
/* oklch */ color: oklch(64.4% 0.123 299.8);
Tailwind
colors: {
  custom: {
    50: '#b9a1dc',
    500: '#997bcd',
    950: '#000000',
  },
}
SCSS
$custom: #997bcd;
$custom-light: #b9a1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#997bcd",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 205
  },
  "hsl": {
    "h": 261.951,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64428,
    "c": 0.12304,
    "h": 299.8
  },
  "luminance": 0.25346
}

Semantic roles & 50–950 ramp

primary
#997BCD
secondary
#D6E0C4
accent
#B82D85
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120F15
muted
#817E83

Preview Lab

Preview with #997BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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