#997BDF#997BDF

#997BDF is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.4% C 0.147 H 295.9°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#997BDF
RGBrgb(153, 123, 223)
HSLhsl(258, 61%, 68%)
HSVhsv(258, 45%, 87%)
CMYKcmyk(31.4%, 44.8%, 0%, 12.5%)
CIE-LABlab(58.29, 33.11, -47.04)
CIE-LCHlch(58.29, 57.52, 305.14°)
OKLaboklab(65.38% 0.0642 -0.1322)
OKLCHoklch(65.38% 0.147 295.9)
XYZxyz(33.5358, 26.2655, 73.1006)
Luminance0.2627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BDF #C1DF7B
analogous
#7B8FDF #997BDF #CB7BDF
triadic
#997BDF #DF997B #7BDF99
tetradic
#997BDF #DF7B8F #C1DF7B #7BDFCB
square
#997BDF #DF7B8F #C1DF7B #7BDFCB
split-complementary
#997BDF #DFCB7B #8FDF7B
monochromatic
#552CB4 #734AD3 #997BDF #BFACEB #E5DEF7

Accessibility & contrast

On white

3.36
#997BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#997BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BDF
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BDF#FFFFFF#000000##000000
##997BDF1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8DE3
Deuteranopia (green-blind)
#618BDD
Tritanopia (blue-blind)
#8A8DA2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #997bdf;
/* rgb */ color: rgb(153, 123, 223);
/* oklch */ color: oklch(65.4% 0.147 295.9);
Tailwind
colors: {
  custom: {
    50: '#baa1e9',
    500: '#997bdf',
    950: '#000000',
  },
}
SCSS
$custom: #997bdf;
$custom-light: #baa1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#997bdf",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 223
  },
  "hsl": {
    "h": 258,
    "s": 60.976,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65378,
    "c": 0.14693,
    "h": 295.9
  },
  "luminance": 0.26266
}

Semantic roles & 50–950 ramp

primary
#997BDF
secondary
#E1EACB
accent
#C91D95
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120F16
muted
#817E84

Preview Lab

Preview with #997BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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