#997FDB#997FDB

#997FDB is a light, vivid violet. Relative luminance 0.271; OKLCH L 65.9% C 0.135 H 295.5°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#997FDB
RGBrgb(153, 127, 219)
HSLhsl(257, 56%, 68%)
HSVhsv(257, 42%, 86%)
CMYKcmyk(30.1%, 42%, 0%, 14.1%)
CIE-LABlab(59.03, 29.80, -43.62)
CIE-LCHlch(59.03, 52.83, 304.33°)
OKLaboklab(65.88% 0.0582 -0.1222)
OKLCHoklch(65.88% 0.135 295.5)
XYZxyz(33.5093, 27.0651, 70.4627)
Luminance0.2707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FDB #C1DB7F
analogous
#7F93DB #997FDB #C77FDB
triadic
#997FDB #DB997F #7FDB99
tetradic
#997FDB #DB7F93 #C1DB7F #7FDBC7
square
#997FDB #DB7F93 #C1DB7F #7FDBC7
split-complementary
#997FDB #DBC77F #93DB7F
monochromatic
#5531AF #734FCE #997FDB #BFAFE8 #E5DFF6

Accessibility & contrast

On white

3.27
#997FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#997FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FDB
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FDB#FFFFFF#000000##000000
##997FDB1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#648FDE
Deuteranopia (green-blind)
#688DD9
Tritanopia (blue-blind)
#8B90A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #997fdb;
/* rgb */ color: rgb(153, 127, 219);
/* oklch */ color: oklch(65.9% 0.135 295.5);
Tailwind
colors: {
  custom: {
    50: '#b9a4e6',
    500: '#997fdb',
    950: '#000000',
  },
}
SCSS
$custom: #997fdb;
$custom-light: #b9a4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#997fdb",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 256.957,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65876,
    "c": 0.13535,
    "h": 295.5
  },
  "luminance": 0.27066
}

Semantic roles & 50–950 ramp

primary
#997FDB
secondary
#E1E9CD
accent
#C42296
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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